[Haskell-cafe] Named field syntax

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Fri Aug 29 09:39:15 EDT 2008


> data Test = Test Integer {b::String}

positional (= unnamed) record notation is a language design error :-)
and its use should be discouraged. - J.W.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080829/b2ef9bb9/signature.bin


More information about the Haskell-Cafe mailing list