labelled fields

Steffen Mazanek steffen.mazanek@UniBw-Muenchen.de
Tue, 3 Jun 2003 23:17:28 +0200


Ok, I had missed something:
I can write instead:

data Type = TCon String (Maybe String) ...

and declare a function lmtc 

lmtc (TCon _ x) = x
...

But why not allow syntactic sugar?

Sorry,
Steffen


-- 
Steffen Mazanek - www.steffen-mazanek.de - GPG: 791F DCB3  

Haskell, that's where I just curry until fail, unwords 
any error, drop all undefined, maybe break, otherwise
in sequence span isControl and take max $, id: (d:[])