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

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to