GHCi's search path
peteg42 at gmail.com
Wed May 13 05:01:23 EDT 2009
On 13/05/2009, at 6:43 PM, Bayley, Alistair wrote:
>> From: glasgow-haskell-users-bounces at haskell.org
>> [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf
>> Of Peter Gammie
>> GHCi is not overly keen to go looking for modules in directories
>> different to where the source resides.
>> The semantics I want is:
>> - use the Cabal-built objects/hi files in dist/build if they're
>> fresh enough
>> - interpret the source otherwise.
>> Is that possible?
> I think the -odir and -hidir options will help
> e.g. -odir dist/build -hidir dist/build
I tried these too, no luck.
More information about the Glasgow-haskell-users