[Haskell-cafe] import qualified?

wren ng thornton wren at freegeek.org
Sat May 23 01:44:40 EDT 2009

Vasili I. Galchin wrote:
> Hello,
>      I am working with some somewhat legacy code. I understand what "import
> qualified Blah as B" means but what does "import qualified Blah" mean? Is
> this a deprecated feature? I saw with user defined module as well as with
> "import qualified System" for example.

It just means that you must qualify the names with the module name 
(System). It's not deprecated, but most folks use the "import qualified 
... as" version instead so that they can give a shorter name instead of 
using the full module name.

Live well,

More information about the Haskell-Cafe mailing list