Hello Vivek,

Wednesday, October 15, 2008, 3:39:54 PM, you wrote:

i think that practical answer is suggestion to use `case` instead:

case () of
 _ | x < 5 -> do abc
                 def
                 ...
                 
   | x==5  -> do ...
   
   | otherwise -> do ...

it's pretty common pattern for haskell

-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to