[Haskell-cafe] Import qualified, inverse of hiding

Ryan Ingram 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.

  -- ryan

On Mon, Sep 15, 2008 at 12:26 PM, Mauricio <briqueabraque at yahoo.com> wrote:
> Hi,
> '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"?
> Thanks,
> Maurício
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list