[Haskell-cafe] is there a more concise way to generate helper
functions for a datatype built on records?
alex at alexjacobson.com
Sat Nov 24 21:20:04 EST 2007
There is a simplified version of HList style functionality inside
HAppS-Data because I found Oleg's repo too hard to understand.
Stuart Cook wrote:
> On 11/25/07, Thomas Hartman <tphyahoo at gmail.com> wrote:
>> I think I'm running into more or less the same issue discussed at
>> Just wondering if I missed anything, or if any of the ideas
>> considering better records setter/getters have been implemented in the
> Have a look at [http://code.haskell.org/category], and the associated blog posts
> which discuss "functional references" (similar to Luke's), and include
> Template Haskell code for deriving more flexible accessors from a
> record declaration.
> Also check out HList [http://homepages.cwi.nl/~ralf/HList/], which can
> do some interesting things, provided you're willing to abandon the
> built-in record system.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe