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