johndcl 2017-02-04 00:20:29
is it possible to ":load" another file in a Haskell script?
noan 2017-02-04 00:20:44
trying to get Aeson and Persistent playing together. But I don't have an instance of Generic MyGeneratedType. Would you guys define the DB type and the type that has JSON encoding separately?
johndcl 2017-02-04 00:21:05
i've some functions in Code/foo.hs and I'd like to use them in my bar.hs script
noan 2017-02-04 00:21:10
nah that seems needless. I think i just need to figure out how to do the generic instance...
pavonia 2017-02-04 00:24:20
johndcl: You have to import Code.Foo from Bar
johndcl 2017-02-04 00:25:40
pavonia: so the file must begin with uppercase letter? I've tried 'import Code.foo' and it ... didn't work
johndcl 2017-02-04 00:26:03
error: parse error on input 'Code.countdown'
pavonia 2017-02-04 00:26:28
Yes
johndcl 2017-02-04 00:26:33
thank you
noan 2017-02-04 00:31:48
Anyone using both Aeson and Perstistent?
noan 2017-02-04 00:32:29
oh, perstistent depends on aeson anyway... okay so this stuff should be more doable than I think