RE: Using packages in ghci

2004-10-05 Thread Simon Marlow
I think what's happening here is that you essentially have overlapping .hi files: the interface for Data.Tree.AVL.List is found along the search path, and also in a package (because the search path "." and the import_dirs for the package point to the same place). This is apparently confusing GHC,

Re: Using packages in ghci

2004-10-02 Thread Adrian Hey
On Friday 01 Oct 2004 9:36 pm, Simon Marlow wrote: > Looks fine - GHCi is supposed to look in the directories in import_dirs > for .hi files. What does ghci -v tell you? Quite a lot :-), but nothing very surprising. I think I've found what causes the problem. It does actually seem to work as expe

RE: Using packages in ghci

2004-10-01 Thread Simon Marlow
On 01 October 2004 10:37, Adrian Hey wrote: > Where does ghci look for .hi files from packages? (I doesn't seem to > be the same place as ghc). AFAICT it expects to find them relative to > the current directory, and I can only get it to work by cding to > the appropriate directory *before* invokin