
7 Aug
2011
7 Aug
'11
10:45 a.m.
On Sun, 7 Aug 2011 10:10:04 -0300
Thiago Negri
Hey Manfred.
Take a look at "Record Syntax" topic of the book "Learn you a Haskell for great good". It looks like what you want.
http://learnyouahaskell.com/making-our-own-types-and-typeclasses#record-synt...
Thanks for pointing me to this. At least it shows a nice way do define records without the need to name the members.
pval = P { a = "bla1", b = "bla2" }
This could be then pval = P "bla1" "bla2", however it doesn't give me map over the member of the record which I want because I have some 15 members of such a record. -- Manfred