e3a68e235c
This commit reinstates the requirement that the predicate in a "check" must be a manifest call to a special kind of function declared with the new "pred" keyword instead of "fn". Preds must have a boolean return type and can only call other preds; they can't have any effects (as enforced by the typechecker). The arguments to a predicate in a check expression must be slot variables or literals. |
||
---|---|---|
.. | ||
ast.rs | ||
codemap.rs | ||
creader.rs | ||
eval.rs | ||
extenv.rs | ||
extfmt.rs | ||
lexer.rs | ||
parser.rs | ||
token.rs |