Hello Christopher,

Friday, June 11, 2010, 4:35:00 PM, you wrote:

> if x        then foo
> else if y then bar
> else if z then mu
> else             zot

case () of
 _ | x -> foo
   | y -> bar
   | otherwise -> zor

it's usually considered as "haskell way" of doing this


-- 
Best regards,
 Bulat                            mailto:[email protected]

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

Reply via email to