[Haskell-cafe] Re: [web-devel] A light-weight web framework
Stefan O'Rear
stefanor at cox.net
Mon Apr 16 19:23:21 EDT 2007
On Mon, Apr 16, 2007 at 07:09:10PM -0400, S. Alexander Jacobson wrote:
> On Tue, 10 Apr 2007, Marc Weber wrote:
> >>Right now, you can largely do the same thing, but you have to write the
> >>XML
> >>representations of your data structures manually.
> >>
> >>-Alex-
> >
> >I'm not sure but doesn't use HAppS kind of stripped down HaXml ?
> >DrIft can derive HaXml instances automatically.
> >Where is the problem doing using DrIft?
> >
> >Marc
> >_______________________________________________
> >Haskell-Cafe mailing list
> >Haskell-Cafe at haskell.org
> >http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
>
> DrIFT is a preproxessor so it makes the build process more complex. I'd
> like to find a pure-haskell solution or a TH solution that doesn't require
> more build complexity.
You might want to look at the Data.Derive system. Basically it's a
giant library of helpers for writing TH-based derivations. It has a
few other cool features, like an automated guesser for sufficiently
regular classes. It's still in the cleanup-for-release stage, so any
questions should not be hesitated on!
http://www.cs.york.ac.uk/fp/darcs/derive
Primary maintainer: Neil Mitchell <ndm at cs.york.ac.uk> (I'm very familiar with it, too)
Stefan
More information about the Haskell-Cafe
mailing list