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:Bulat.Ziganshin at gmail.com