Hi, Is anyone here using Persistent or another SQLite solution? I know Persistent was rewritten some time ago to work without template Haskell, but all the demonstrations I've seen are still using the template aspects. Has anyone attempted getting the full compiler, with GHCI running? Thanks, Casey -- Casey James Basichis Composer - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540
Hi Casey, To use Persistent without Template Haskell you would write the definition code (querying code is still the same) that is normally automatically generated for you with TH instead by hand (lots of boilerplate). You should ask on the yesod google group mail list for more details. Greg Weber On Tue, Jan 1, 2013 at 12:19 PM, Casey Basichis <caseybasichis@gmail.com>wrote:
Hi,
Is anyone here using Persistent or another SQLite solution?
I know Persistent was rewritten some time ago to work without template Haskell, but all the demonstrations I've seen are still using the template aspects.
Has anyone attempted getting the full compiler, with GHCI running?
Thanks, Casey
-- Casey James Basichis Composer - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
Casey, Some work has been done on ghci on a native compile for ARM, i.e. an ARM system running Linux, and the latest I've heard is that it mostly works (though I understand there might be some things broken with it). However, it may be a while before TH works properly with the cross compiler, because it requires everything that TH could use to be compiled once both to a local system and a remote system. Nobody has done this work. Steve On 02/01/13 09:19, Casey Basichis wrote:
Hi,
Is anyone here using Persistent or another SQLite solution?
I know Persistent was rewritten some time ago to work without template Haskell, but all the demonstrations I've seen are still using the template aspects.
Has anyone attempted getting the full compiler, with GHCI running?
Thanks, Casey
-- Casey James Basichis Composer - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com <mailto:caseybasichis@gmail.com> 310.387.7540
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
hi casey, On 01/01/2013, at 21:19, Casey Basichis <caseybasichis@gmail.com> wrote:
Is anyone here using Persistent or another SQLite solution?
I know Persistent was rewritten some time ago to work without template Haskell, but all the demonstrations I've seen are still using the template aspects.
what i did was generate the source from the quasi quoted expression, there's an example here: https://github.com/kaoskorobase/mescaline/blob/user/sk/lib/mescaline-databas... it should work doing this on the host using the host compiler and use the source on the target. another possibility would be to write a source generator for the persistent input format. sk
Thanks for the info. I'll have to look into quasi-quoting to figure out exactly what you mean in that example. I haven't yet dived into persistent as I didn't know how to approach it. These solutions will let me get started figuring it out. On Thu, Jan 3, 2013 at 2:02 AM, Stefan Kersten <sk@k-hornz.de> wrote:
hi casey,
On 01/01/2013, at 21:19, Casey Basichis <caseybasichis@gmail.com> wrote:
Is anyone here using Persistent or another SQLite solution?
I know Persistent was rewritten some time ago to work without template Haskell, but all the demonstrations I've seen are still using the template aspects.
what i did was generate the source from the quasi quoted expression, there's an example here:
https://github.com/kaoskorobase/mescaline/blob/user/sk/lib/mescaline-databas...
it should work doing this on the host using the host compiler and use the source on the target. another possibility would be to write a source generator for the persistent input format.
sk
-- Casey James Basichis Composer - Cartoon Network http://www.caseyjamesbasichis.com caseybasichis@gmail.com 310.387.7540
participants (4)
-
Casey Basichis -
Greg Weber -
Stefan Kersten -
Stephen Blackheath [to GHC-iPhone]