
25 Jun
2009
25 Jun
'09
6:03 a.m.
Henning Thielemann wrote:
[...]
Maybe we (i. e. someone with a wiki account ;) ) should add Jeremy's proposal - using let and guards - to the page (under section 2.2, "syntactic suger")? IMHO this is much clearer than "case () of _". foo = let x | 1 > 1 = "uh-oh" | otherwise = "all is well" in x Regards, Stephan -- Früher hieß es ja: Ich denke, also bin ich. Heute weiß man: Es geht auch so. - Dieter Nuhr