[Haskell-cafe] Is there any way to parametrize a value update using record syntax?

David Barbour dmbarbour at gmail.com
Wed Sep 7 00:35:43 CEST 2011

2011/9/6 Erik Hesselink <hesselink at gmail.com>

> You can use the fclabels package [1] for this. It makes record labels
> first class, and also provides functions to update parts of a record
> in the state monad [2].

That's pretty nifty. Thanks for mentioning it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110906/6951f77e/attachment.htm>

More information about the Haskell-Cafe mailing list