
28 Jun
2007
28 Jun
'07
7:28 a.m.
Hello Andrew, Thursday, June 28, 2007, 1:28:05 AM, you wrote:
Wow, wait a sec - case expressions are allowed to have guards too??
btw, it's used to implement boolean switches: case () of _ | a>0 -> 1 | a<0 -> -1 | otherwise -> 0 -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com