I am faced with a strange situation at GHCI, I donβt know if anyone has seen a similar case. For some module, when it is on the search path with both -package-conf and -i , GHCI fails when I try to import a module using 'module is not loaded: FooModule' .
:module loads it, however- or I can do
:load FooModule :m to clear the import list, and then import FooModule - or I can remove the path from
-i and then import the fine
It tracks this as the case otherwise -> modNotLoadedError m loc in the GHC , where otherwise ~ modulePackageId = this_pkg (the meaning of which I do not know).
This is not completely systematic, there are some modules that are in the package and source path, but can be imported.
haskell ghci
ron Mar 28 '14 at 15:40 2014-03-28 15:40
source share