Eval package:yi-core

Evaluator for actions (Action, YiAction). Uses a GHCi session under the hood.
Config variable for customising the behaviour of execEditorAction and getAllNamesInScope. Set this variable using evaluator. See ghciEvaluator and finiteListEvaluator for two implementation.
The evaluator to use for execEditorAction and getAllNamesInScope.
Evaluator based on a fixed list of published actions. Has a few differences from ghciEvaluator:
  • expressions can't be evaluated
  • all suggested actions are actually valued
  • (related to the above) doesn't contain junk actions from Prelude
  • doesn't require GHCi backend, so uses less memory
Get path to environment file that defines namespace used by Yi command evaluator.