[Haskell-cafe] AbstractDataType question
Ketil Malde
ketil+haskell at ii.uib.no
Mon Dec 13 05:29:56 EST 2004
Tomasz Zielonka <tomasz.zielonka at gmail.com> writes:
> Record field labels can be also used in pattern matching and in
> record update. Especially the latter is very useful.
But not quite as elegant -- while record query lets you modify the
underlying structure and replace the old record queries with
functions, I don't think there's a way to do this for record updates
(or am I wrong?)
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
More information about the Haskell-Cafe
mailing list