Specifying package name for module-related commands in ghci

Viewed 5970

Is there a way to specify the package name for a module for the :browse, :load or :module commands in ghci (version 6.12.1) ?

Some module names are ambiguous:

Prelude> :module Control.Monad.Cont

<no location info>:
    Ambiguous module name `Control.Monad.Cont':
      it was found in multiple packages: mtl-1.1.0.2 monads-fd-0.1.0.2

Is setting the -hide-package option the only thing I can do to avoid the ambiguity?

2 Answers
Related