1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 05:11:44 +03:00

Correct docs.

This commit is contained in:
Rob Rix 2018-05-09 13:28:08 -04:00
parent 994a6f4f4b
commit b90de3eb8d

View File

@ -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)