Search Haskell Channel Logs

Friday, March 3, 2017

#haskell channel featuring bennofs, jle`, Rodenbach, cocreature, bollu, JuanDaugherty,

jle` 2017-03-02 23:12:44
wrote my first literate haskell file today, wasn't all that bad
bollu 2017-03-02 23:12:57
jle`: I quite like TH
jle` 2017-03-02 23:13:00
maybe i'll do it more often
jle` 2017-03-02 23:13:06
i don't know why i avoided it for so long
jle` 2017-03-02 23:13:34
the file was mostly an executable demo...i was just writing block comments until i just gave up and flipped everything
JuanDaugherty 2017-03-02 23:26:01
which thing is this?
JuanDaugherty 2017-03-02 23:26:54
not CWeb i take it
JuanDaugherty 2017-03-02 23:27:46
template haskell has a literate programming aspect?
Rodenbach 2017-03-02 23:28:03
Are there many Lens libs for Haskell? Is there one which is kind of _the_ Lens lib? The one that nearly everyone is using?
cocreature 2017-03-02 23:28:28
Rodenbach: the lens lib is definitly https://hackage.haskell.org/package/lens
cocreature 2017-03-02 23:28:52
there are several other libs (e.g. microlens) but the main ideas are basically the same
cocreature 2017-03-02 23:29:55
at least to some degree they can also interoperate
riddle_ 2017-03-02 23:41:30
exit
riddle_ 2017-03-02 23:41:33
sorry
riddle_ 2017-03-02 23:41:36
mistyped
bennofs 2017-03-02 23:44:02
Rodenbach: there's a few libraries other than 'lens', but those ('microlens', 'lens-family') are stripped-down versions of the 'lens' library with less dependencies and sometimes less general types. The types of both are compatible though, so you can use a lens defined using one of the libraries also with another