There is a simplified version of HList style functionality inside HAppS-Data because I found Oleg's repo too hard to understand.

-Alex-



Stuart Cook wrote:
On 11/25/07, Thomas Hartman <[EMAIL PROTECTED]> wrote:
I think I'm running into more or less the same issue discussed at

http://bloggablea.wordpress.com/2007/04/24/haskell-records-considered-grungy/

Just wondering if I missed anything, or if any of the ideas
considering better records setter/getters have been implemented in the
meantime.

Have a look at [http://code.haskell.org/category], and the associated blog posts

http://twan.home.fmf.nl/blog/haskell/overloading-functional-references.details
(http://tinyurl.com/2ustba)

and

http://twan.home.fmf.nl/blog/haskell/References-Arrows-and-Categories.details
(http://tinyurl.com/2v8het)

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.


Stuart
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to