DoAndIfThenElse
Ian Lynagh
igloo at earth.li
Thu Nov 26 07:21:42 EST 2009
Hi Christian,
On Thu, Nov 26, 2009 at 10:29:10AM +0100, Christian Maeder wrote:
>
> 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?
I can't see any support for it in GHC, even in the HEAD. The page claims
"full (no flag)" for every implementation, so I'd guess it's just a
boilerplate table that hasn't been properly filled in.
Thanks
Ian
More information about the Haskell-prime
mailing list