>>
>> But that’s not a strong opinion and I would willingly yield to others!
>>
>>
>>
>> Simon
>>
>>
>>
>> *From:* Alan & Kim Zimmerman [mailto:alan.z...@gmail.com]
>> *Sent:* 10 November 2016 08:31
>> *To:* Simo
hers!
>
>
>
> Simon
>
>
>
> *From:* Alan & Kim Zimmerman [mailto:alan.z...@gmail.com]
> *Sent:* 10 November 2016 08:31
> *To:* Simon Peyton Jones <simo...@microsoft.com>
> *Cc:* ghc-devs@haskell.org
> *Subject:* Re: ppr of HsDo
>
>
>
> Thanks.
&
Kim Zimmerman [mailto:alan.z...@gmail.com]
Sent: 10 November 2016 08:31
To: Simon Peyton Jones <simo...@microsoft.com>
Cc: ghc-devs@haskell.org
Subject: Re: ppr of HsDo
Thanks.
And any thoughts on my proposal to do away with the braces/semi completely? I
suspect GHC is the only significant bo
gt;
> foo
> = do { let x = 1; Just 5 }
>
>
>
> So it’s a bug in the pretty-printer, not the parser
>
>
>
> SImon
>
>
>
>
>
> *From:* ghc-devs [mailto:ghc-devs-boun...@haskell.org] *On Behalf Of *Alan
> & Kim Zimmerman
> *Sent:* 10 November 2
] On Behalf Of Alan & Kim
Zimmerman
Sent: 10 November 2016 07:01
To: ghc-devs@haskell.org
Subject: ppr of HsDo
The pretty printer turns
foo = do
let x = 1
Just 5
into
foo
= do { let x = 1;
Just 5 }
which does not parse, complaining about "parse error on in
The pretty printer turns
foo = do
let x = 1
Just 5
into
foo
= do { let x = 1;
Just 5 }
which does not parse, complaining about "parse error on input ‘Just’"
Is this a parser error or a ppr problem? I am keen to fix the ppr to
output
foo
= do let x = 1
Just 5
but I