Ryan Ingram wrote:
Take a look at Data.Accessor on hackage:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/data-accessor
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/data-accessor-template

So, to summarise, it provides a datatype to encapsulate a pair of get/set functions, some infix sugar for using it, and some TH for autogenerating said data. Is that about right?

I'll have a go at trying this later... Thanks.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to