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"

-- 
View this message in context: 
http://www.nabble.com/if---then---else-layout-tp19663006p19663006.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to