[Haskell-cafe] Hugs vs. GHCi

Vladimir Reshetnikov v.reshetnikov at gmail.com
Fri May 29 13:08:55 EDT 2009


Hi,

The following expression evaluates to 1 in GHCi, but results in an
error in Hugs:

let f x = let g y = [x,y] in (g 1, g []) in 1

What is the correct behavior?

Thanks
Vladimir


More information about the Haskell-Cafe mailing list