[Haskell-cafe] Import qualified, inverse of hiding
ryani.spam at gmail.com
Mon Sep 15 15:37:22 EDT 2008
Yes, just leave out the keyword "hiding".
> import Data.Map (Map, insert, lookup)
This is the "safest" way to do imports as you're guaranteed that
changes to the export list that do not affect those qualifiers won't
cause code to stop compiling or become ambiguous.
On Mon, Sep 15, 2008 at 12:26 PM, Mauricio <briqueabraque at yahoo.com> wrote:
> 'import' allows one to say 'hiding' to
> a list of names. Is it possible to do the
> opposite, i.e., list the names I want to
> import? Something like "import Module showing x"?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe