> I presumed that, as the ghci > command loads all usable libraries, then > > ghci -package-conf myPackage.conf -package myPackage > > will load all that `ghci' loads + > what is specified in myPackage.conf. > > But, probably, this is not (should not be?) so: the option > > -package-conf myPackage.conf > > fully replaces the configuration, and the package search is done > only according to what is specified in > myPackage.conf > , right?
No, packages are loaded on a demand-driven basis. Packages must have correct dependencies specified, so that GHC can ensure that they are loaded in dependency order. The -package-conf flag does not cause the configuration to be "fully replaced". Cheers, Simon _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs