package treating
Simon Marlow
simonmar at microsoft.com
Tue Oct 21 09:03:03 EDT 2003
> 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
More information about the Glasgow-haskell-bugs
mailing list