git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Docs for qualified imports
commit635330bb5b7a5d588bcd11a0b22f33b041763168 authorPhil Freeman <paf31@cantab.net> dateSat 12 Apr 2014, 14:17 (13 years ago) parent2845b98
1 file changed+3
docs/source/modules.rst+3
docs/source/modules.rst+3
@@ -34,6 +34,9 @@ Values, type constructors and data constructors can all be explicitly imported.
3434
3535 import A (runFoo, Foo(..), Bar(Bar))
3636
37+Qualified Imports
38+-----------------
39+
3740Modules 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::
3841
3942 module Main where