> Hello,
> 
> ghc-5.00.1 -interactive    (binary distribution, linux i386-unknown)
> 
> finds or does not find the value  allPermuts
> depending on the directory where  ghci  is run.
> 
>   ghci ... -package docon
>   ...
>   Prelude> Permut.allPermuts $ reverse [1..3]
> 
> The project is as follows.
> 
> d/source/  contains the sources, and  Permut.hs  too.
> 
> Everything was compiled by 
>                   ghc $(HCFlags) -package-name docon --make DExport,
> 
> and all  *.o *.hi  moved to  d/e/ ,   where .o and .a libraries are 
> created and referred by the package  docon.
>            
> Now, when  ghci  is run in  d/source/  it does not find  allPermuts,
> in other directories, it finds.

Could you give a dump of the full run of GHCi that produces the error,
with -v, and include an 'ls -l' of each of the directories involved?
Thanks.

Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to