Commit ee4bab7c authored by Camil Staps's avatar Camil Staps 🚀

Fix syntax of hiding imports

parent ad3a1959
......@@ -382,7 +382,7 @@ bs_import =
, syntax_code =
[ "import [qualified] ... [as ...]"
, "from ... import ..."
, "import ... qualified => ..."
, "import ... => qualified ..."
]
, syntax_description =
"Imports code from other modules.\n\n" +
......@@ -393,9 +393,9 @@ bs_import =
[ "import ..."
, "import StdEnv // Import all code from the StdEnv definition module"
, "from StdFunc import o // Import only the o function from StdFunc"
, "import Control.Monad => qualified join // Import all code from Control.Monad except for join. join is imported qualified"
, "import qualified Data.Map // Import Data.Map such that functions are available as e.g. 'Data.Map'.get."
, "import qualified Data.Map as M // Import Data.Map such that functions are available as e.g. 'M'.get."
, "import Control.Monad => qualified join // Import all code from Control.Monad except for join. join is imported qualified"
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment