Re: [Haskell-cafe] sections for record settors

2006-09-20 Thread Bulat Ziganshin
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

[Haskell-cafe] sections for record settors

2006-09-19 Thread Tim Newsham
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

Re: [Haskell-cafe] sections for record settors

2006-09-19 Thread Misha Aizatulin
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