| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Howl.Builtins.Context
Description
Builtins and helpers for working with evaluation contexts.
This module provides functions for parsing and evaluating input,
defining rules with Set/SetDelayed semantics, and installing the
standard context-related builtins.
Documentation
A left-hand side that can appear in Set or SetDelayed.
addContextBuiltins :: Eval () #
Add the standard context-related builtins to the current context.
setDelayedDef :: LHS -> Expr -> Eval () #
Define a rule with SetDelayed semantics.
get :: FilePath -> Eval Expr #
Read, parse, and evaluate an expression from a file. The expression may be a compound expression, e.g. a sequence of semicolon-separated subexpressions.
Read, parse, and evaluate an expression from a file, discarding the result.