mirror of
https://github.com/github/semantic.git
synced 2024-12-20 05:11:44 +03:00
Correct docs.
This commit is contained in:
parent
994a6f4f4b
commit
b90de3eb8d
@ -42,7 +42,7 @@ listModulesInDir = sendModules . List
|
||||
|
||||
-- | Require/import another module by name and return its environment and value.
|
||||
--
|
||||
-- Looks up the term's name in the cache of evaluated modules first, returns if found, otherwise loads/evaluates the module.
|
||||
-- Looks up the module's name in the cache of evaluated modules first, returns if found, otherwise loads/evaluates the module.
|
||||
require :: Member (Modules location value) effects => ModulePath -> Evaluator location value effects (Maybe (Environment location value, value))
|
||||
require path = lookupModule path >>= maybeM (load path)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user