|
RE: package treating: msg#00047lang.haskell.glasgow.bugs
> 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: user package blocks standard ones, Simon Marlow |
|---|---|
| Next by Date: | Re: user package blocks standard ones, Serge D. Mechveliani |
| Previous by Thread: | package treating, Serge D. Mechveliani |
| Next by Thread: | [ ghc-Bugs-827485 ] Heap profile w/ debugging RTS dumps core, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |