27 Feb
2002
27 Feb
'02
8:21 p.m.
On Mon, Feb 25, 2002 at 04:30:24PM +0000, Malcolm Wallace wrote:
Yes, but it reports type errors for the variants f x = (\x -> x*x .) g x = (if x then 1 else 2 +) and it accepts h = (let op x y = y in 3 `op`) so I suspect it's misparsing these as f x = (\x -> (x*x .)) g x = (if x then 1 else (2 +)) h = (let op x y = y in (3 `op`))
But I would claim that nhc98 is parsing these correctly, at least
But, for example, "x*x ." is not a valid left section - parentheses are required. Ian