[Haskell-cafe] Re: field record update syntax
john at repetae.net
Fri Jan 28 19:42:32 EST 2005
On Fri, Jan 28, 2005 at 02:36:59PM +0100, Peter Simons wrote:
> > you can use DrIFT to automatically create
> > bar_u to update a field and
> > bar_s to set a field.
> That is exactly what I need. Is there, by any chance, a
> solution that's based on Template Haskell too? Not that I'd
> have something against DrIFT; I'm just curious to know.
A project I thought would be neat is to create a common framework so the
same deriving rules could work with DrIFT or template haskell. It
shouldn't be too tough. you couldn't use the template haskell special
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell-Cafe