git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Docs for qualified imports
635330bPhil Freeman
docs/source/modules.rst+3
@@ -34,6 +34,9 @@ Values, type constructors and data constructors can all be explicitly imported.
34
34
35 import A (runFoo, Foo(..), Bar(Bar))
35 import A (runFoo, Foo(..), Bar(Bar))
36
36
37+Qualified Imports
38+-----------------
39+
37Modules can also be imported `qualified`, which means that their names will not be brought directly into scope, but rather, aliased to a different module name. This can be helpful when avoiding naming conflicts::
40Modules can also be imported `qualified`, which means that their names will not be brought directly into scope, but rather, aliased to a different module name. This can be helpful when avoiding naming conflicts::
38
41
39 module Main where
42 module Main where