ppr of HsDo
Alan & Kim Zimmerman
alan.zimm at gmail.com
Thu Nov 10 07:01:22 UTC 2016
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 am not sure if there is a parser bug too.
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20161110/1f2c0020/attachment.html>
More information about the ghc-devs
mailing list