
15 Mar
2009
15 Mar
'09
5:34 p.m.
On Sun, 2009-03-15 at 09:13 -0700, Conal Elliott wrote:
That did it. I've added ":set -package applicative-numbers" to my .ghci and am back in business. Thanks!
IIUC, there's an inconsistency in ghci's treatment of modules vs include files, in that modules will be found without -package, but include files won't. Room for improvement, perhaps.
But that's because of the circularity I described. GHC can chase Haskell imports because it can parse Haskell, but chasing CPP #includes would require us to re-implement cpp. Perhaps we could do it by modifying cpphs. Duncan