WinHugs, Haskell bug

Neil Mitchell ndmitchell at
Wed Aug 31 15:32:06 EDT 2005


Fixed it now, my fault. It turns out if you build parser.y with a 1993
version of Yacc it builds fine without error messages, but gives a
different grammar to the one specified.



On 8/31/05, Neil Mitchell <ndmitchell at> wrote:
> Hi,
> The following code
> > let x = 1 in x
> Gives the following error on WinHugs, the latest development build (my
> private one)
> > ERROR - Syntax error in expression (unexpected keyword "in")
> When run in either a very old copy of WinHugs, or GHCi I get
> > 1
> I think this has been occuring ever since I started development, quite
> possibly before, as a few early bugs were caused by this - long before
> I was tracking bugs.
> Does the vanilla CVS version accept this? I haven't changed much (as
> far as I can tell, none) parsing/execution code.
> Thanks
> Neil

More information about the Cvs-hugs mailing list