(application->result-map rule-name expressions)
Wrap the application of a rule with structured rule output.
Wrap the application of a rule with structured rule output.
(apply-rule rule-name & expressions)
Apply a rule that has been defined.
Apply a rule that has been defined.
(apply-rule* application-method rule-name & expressions)
Pass a rule and its expressions off to be tagged in env*
Pass a rule and its expressions off to be tagged in env*
(apply-rule-inner rule-name & args)
Get a fn by rule-name from the vars map, and apply it to args
Get a fn by rule-name from the vars map, and apply it to args
(change-result! rule-name-kw new-map)
Change an entry in the :results map of env*
Change an entry in the :results map of env*
(define-rule rule-name arglist & expressions)
Define a rule. Rules are closures expecting the arguments from arglist.
Define a rule. Rules are closures expecting the arguments from arglist.
(initialize-eval-env)
Set up execution evironment for rule evaluation.
Set up execution evironment for rule evaluation.
(log-application-result! result-map)
Associate the result of an application in the :results map of env*.
Associate the result of an application in the :results map of env*.
(rule rule-name & expressions)
Execute a rule anonymously without variable bindings.
Execute a rule anonymously without variable bindings.
(rule-inner rule-name & expressions)
Execute expressions.
Execute expressions.
(validate-document [& inputs] & expressions)
Top-level macro for rolling up the result of all rule applications.
Top-level macro for rolling up the result of all rule applications.
(warn-when warning-val {:keys [rule result] :as result-map})
If the change a result map's :result to :warn if it matches a given value.
If the change a result map's :result to :warn if it matches a given value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close