On Thu, Nov 26, 2009 at 03:14:13PM +0100, Christian Maeder wrote:
> David Virebayre schrieb:
> >
> > On Thu, Nov 26, 2009 at 10:29 AM, Christian Maeder
> > mailto:christian.mae...@dfki.de>> wrote:
> >
> > I wonder why I still get a "parse error (possibly incorrect
> > indentation)" for:
>
David Virebayre schrieb:
>
> On Thu, Nov 26, 2009 at 10:29 AM, Christian Maeder
> mailto:christian.mae...@dfki.de>> wrote:
>
> I wonder why I still get a "parse error (possibly incorrect
> indentation)" for:
>
> \begin{code}
> main = do
> if True then putStrLn "1"
> els
David Virebayre schrieb:
> Isn't the proposal about :
>
> \begin{code}
> main = do
> if True then putStrLn "1"
> ;else putStrLn "2"
> \end{code}
This should go through, too, but also does not for me according to
http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse
Change the syn
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 incorre
On Thu, Nov 26, 2009 at 10:29 AM, Christian Maeder wrote:
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}
>
>
Isn't the proposal about :
\begin{code}
main = do
if True th
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"