Chimeric syntax

Max Bolingbroke batterseapower at
Tue Apr 28 16:09:05 EDT 2009

2009/4/28 Scott Michel < at>:
> This got me to thinking that either ghc has issues or I have some
> fundamental misunderstanding of Haskell syntax. Or, maybe I should use
> someone else's grammar.

GHC's parser is over-generous by design. See A
precise description of what is valid Haskell it is certainly NOT, but
it will certainly accept any valid Haskell program. This may not be
quite what you want for an IDE - but it might be good enough for a
first cut.


More information about the Glasgow-haskell-users mailing list