Importing in ghci

Ferenc Wagner wferi@afavant.elte.hu
Fri, 28 Dec 2001 09:24:45 +0100


"Konst Sushenko" <konsu@microsoft.com> writes:

> I just started using GHCI and I am having trouble
> importing modules except for these in the "imports/std"
> directory.
[...]
> 'ghc-pkg -l' reports that the module that I import is
> indeed in an installed package, and as far as I understand
> as long as the module is in an installed package, GHC
> should be happy.

Try 'ghci -package <package_name>'.

                                                Feri.