
20 Sep
2006
20 Sep
'06
2:21 a.m.
On 20.09 01:05, Misha Aizatulin wrote:
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 http://www.haskell.org/pipermail/haskell-cafe/2005-January/008875.html http://www.haskell.org/pipermail/template-haskell/2005-February/000409.html
Having a pure Haskell solution would be nice - but I think getting better record types has more priority. One can already simulate this with using DrIFT to derive setter/update functions for the record members. - Einar Karttunen