[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    [Haskell-cafe] specifying package name in ghci import?
From:       Michael Vanier <mvanier42 () gmail ! com>
Date:       2010-06-29 2:29:32
Message-ID: 4C295A8C.7080805 () cs ! caltech ! edu
[Download RAW message or body]

Hi,

Quick question about ghci: when I do this at the prompt:

ghci> :m +Control.Monad.Cont

I get

     Ambiguous module name `Control.Monad.Cont':
       it was found in multiple packages: mtl-1.1.0.2 monads-fd-0.0.0.1

Is there any way to fix this from within ghci (i.e. not involving 
mucking with ghc-pkg)?  What I have in mind might be e.g.

ghci> :m + "mtl" Control.Monad.Cont

or something similar.

Thanks,

Mike


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic