[Haskell-iPhone] Persistent - SQLite

Casey Basichis caseybasichis at gmail.com
Thu Jan 3 22:24:15 CET 2013


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 at k-hornz.de> wrote:

> hi casey,
>
> On 01/01/2013, at 21:19, Casey Basichis <caseybasichis at 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-database/Mescaline/Database/EntityGen.hs
>
> 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 at gmail.com
310.387.7540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20130103/ab4d1819/attachment.htm>


More information about the iPhone mailing list