On Wed, 24 Sep 2008, leledumbo wrote:

consider this partial program:
if n>5 then
 putStrLn "big"
else
 putStrLn "small"

this works fine in hugs, but in ghc I must change it to:
if n>5
 then
   putStrLn "big"
 else
   putStrLn "small"

maybe related
  http://www.haskell.org/haskellwiki/If-then-else
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to