WinHugs, Haskell bug

Neil Mitchell ndmitchell at gmail.com
Wed Aug 31 15:06:13 EDT 2005


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