Om
environment

Produces the Lexicon for the current environment.

Details
An environment is used by the evaluator for Operator resolution. An environment contains a Lexicon list, and each Operator is resolved by an environment as follows:
  • Each Lexicon is checked for an explicit mapping for the Operator, starting with the last, until one is found.
  • If no explicit mapping is found, each Lexicon is checked for a default mapping (i.e. the mapping for the empty Operator), starting with the last, until one is found.
  • If no default mapping is found, the Operator is unresolved.
Implementation
Om::Language::Operation::EnvironmentOperation