[Haskell-cafe] Weird ghci behaviour?

Dan Piponi dpiponi at gmail.com
Fri Jul 20 17:12:12 EDT 2007


On Unix-like OSes:

If I run "ghc test.hs" and then run "ghci test.hs", ghci fails to load
up my code. I have to touch test.hs and then run ghci. I can
understand ghci refusing to recompile something it thinks it has
already compiled. But it appears to refuse to load it into an
interactive session - which is less useful. In fact, removing test.hi
makes ghci work again.

This is ghc 6.6. Anyone else seeing this?
--
Dan


More information about the Haskell-Cafe mailing list