Hello Tim,
Wednesday, September 20, 2006, 1:28:47 AM, you wrote:
rec {field=val}
but there is no settor function. It would be nice if there was some
sort of section-like syntax to access the settor function, like:
you can use DriFT which generates setter, isA and many other functions
Hi,
When you create a record in haskell, it automatically generates
gettor functions for accessing the record fields. It also provides
you with a record update syntax:
rec {field=val}
but there is no settor function. It would be nice if there was some
sort of section-like syntax to
It would be nice if there was some
sort of section-like syntax to access the settor function
Indeed - I'd like it as well. Also these threads seem to deal with
similar questions:
http://www.haskell.org/pipermail/haskell/2005-February/015354.html