Hi,

seeing Haskell 2010 and
http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse

saying:
Compiler support ΒΆ
GHC     full (no flag)

I wonder why I still get a "parse error (possibly incorrect
indentation)" for:

\begin{code}
main = do
  if True then putStrLn "1"
  else putStrLn "2"
\end{code}

Can I try out this feature somehow?

Cheers Christian
_______________________________________________
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime

Reply via email to