Squarism 2017-03-05 03:01:56
Theophane, here (http://lpaste.net/353236) i get a compile error on line 28 "Not in scope: type constructor or class 'OAuthProviderId'" ..which is declared on line 157
Theophane 2017-03-05 03:02:37
okay
pavonia 2017-03-05 03:03:22
Squarism: I think this is due to the use of TH
Squarism 2017-03-05 03:03:41
pavonia, oh ok.
mniip 2017-03-05 03:03:55
Theophane, laziness is unrelated
Theophane 2017-03-05 03:04:17
ok
Squarism 2017-03-05 03:04:20
pavonia, is there any workaround - sure i could move stuff - but it would be nice to keep things in their sections
pavonia 2017-03-05 03:04:58
I'm not aware of one
ertes 2017-03-05 03:06:04
Squarism: generate the lenses *after* you have defined all types
Squarism 2017-03-05 03:06:16
oh ok
Squarism 2017-03-05 03:06:56
ertes, btw - thanks for your stubborn questioning. I followed your path and arrived at greatness! =D
ertes 2017-03-05 03:07:06
great =)
ertes 2017-03-05 03:08:09
BTW, another option is not to use TH and write the lenses yourself… that option gives you the opportunity to document your lenses, too =)
ertes 2017-03-05 03:11:52
Squarism: regarding TH: imagine that in every line that uses top-level TH there is a "can't look ahead past here" barrier… that's why you should always define your types first when using makeLenses
Squarism 2017-03-05 03:12:39
sounds like extra work spiced with extra work on the not most prioritized issue at hand =D
Squarism 2017-03-05 03:13:23
i understand. Lenses last it will be
Squarism 2017-03-05 03:13:49
it seems it fixed the problem too btw.
ertes 2017-03-05 03:16:12
Squarism: yeah, makeLenses is just inconvenient enough that i tend not to use it most of the time =)
ertes 2017-03-05 03:16:42
would be nice to have a restricted subset of TH that doesn't ruin lookahead
lyxia 2017-03-05 03:32:14
just wait for a Generic implementation of lenses
piyush-kurur 2017-03-05 03:32:14
any one with access to openbsd + GHC
lyxia 2017-03-05 03:32:14
Squarism: see http://lpaste.net/353163
Squarism 2017-03-05 03:33:53
lyxia, thats beyond my current level. It guess ill have to experiance some real problems with makeLenses first =D
Squarism 2017-03-05 03:34:16
...before looking for alternatives
cocreature 2017-03-05 03:43:01
Bob131: wl-pprint-text is pretty nice
cocreature 2017-03-05 03:44:03
eh that was for bollu but they already left