On Jun 20, 2009, at 14:05 , Deniz Dogan wrote:
if something then putStrLn "howdy there!" else if somethingElse then putStrLn "howdy ho!" else ...
FWIW, when I see this I generally start looking for a higher order way to express it. The monoid instance for lists can be a good start.
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe