Am Samstag 23 Mai 2009 08:08:42 schrieb Vasili I. Galchin:
> Hi Paulo,
>
>     You are teasing me ;^) So what is the "semantics" of "import qualified
> Blah"?
>
> Regards,
>
> Vasili

The qualified names (Blah.foo, Blah.baz) are in scope, but not the unqualified 
names foo, 
baz.

If you 
import qualified Bing.Bong.Blah.Blub as Blub

the names of Blub are in scope in the fully qualified form

Bing.Bong.Blah.Blub.foo

and the shorter 

Blub.foo

without the 'as Blub', only the fully qualified form is in scope.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to