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:[])
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to