
29 Jun
2004
29 Jun
'04
5:48 p.m.
Fergus Henderson
This one can be reproduced with a simple one-liner, "(>>) = 42":
bash$ cat Foo.hs (>>) = 42
Hmm, but isn't (>>) indeed defined in the Prelude? So what is the expectation here? Is it something to do with lazy reporting of name clashes?
bash$ cat Foo.hs import Prelude hiding (Prelude.head)
fjh$ hmake -hat Foo hat-trans Foo.hs
Fail: Variable or constructor not in scope: Prelude.head
Probably easy to fix. I'll look into it tomorrow. Regards, Malcolm