I wrote:
I have observed the following weird behavior:
...ghci's ability to recognize the
methods of the class seems to vary depending
on whether or not hi files exist for the modules.
Daniel Fischer wrote:
Pertinent to this is section 3.4.3 of the user's guide, What's really in
scope at the
Debian build of GHC 6.6.
Below are a set of three files that reproduce the
behavior, and a shell session that demonstrates
it.
Before I compile the program, ghci works fine.
After I compile with ghc - thus generating hi files -
ghci gets confused. Then I delete the hi files
and everything is fine