DoAndIfThenElse

Christian Maeder Christian.Maeder at dfki.de
Thu Nov 26 04:29:10 EST 2009


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


More information about the Haskell-prime mailing list