Language.Haskell.Parser and layout rules

Ross Paterson ross at soi.city.ac.uk
Tue Feb 22 06:34:14 EST 2005


On Tue, Feb 22, 2005 at 11:28:52AM -0000, Simon Marlow wrote:
> On 22 February 2005 11:14, Malcolm Wallace wrote:
> 
> >>>                                        A    B    C   D
> >>> ghc                                   yes  no   no  yes
> >>> hugs                                  yes  no   no  no
> >>> nhc98                                 yes  yes  no  yes
> >>> Language.Haskell.Parser.parseModule   no   yes  yes no
> >>> report                                no   no   no  no
> > 
> > ... but I beg to differ with the row for the "report".  Looking
> > carefully at code examples A and B, notice the extra single space
> > indentation on the second line:
> 
> I was assuming that was a typo :-)

It was deliberate: a single space triggers the bug in
Language.Haskell.Parser.


More information about the Libraries mailing list