[Haskell-cafe] Record updates
bugfact at gmail.com
Mon Mar 30 17:46:05 EDT 2009
I hope Haskell prime will be a bit more "first class" when it comes to
On Mon, Mar 30, 2009 at 11:14 PM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:
> On Sun, 29 Mar 2009, Andrew Coppin wrote:
> Ryan Ingram wrote:
>>> Take a look at Data.Accessor on hackage:
>> 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?
> Exactly. 'modify' or (^:) is what you are looking for.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe