API providing evaluation tools to evaluate documents using Clojure's environment.
API providing evaluation tools to evaluate documents using Clojure's environment.
A map of the default functions to use with fr.jeremyschoffen.prose.alpha.document.common.evaluator/make
.
Namely:
:slurp-doc
: default-slurp-doc
:read-doc
: fr.jeremyschoffen.prose.alpha.reader.core/read-from-string
:eval-forms
: fr.jeremyschoffen.prose.alpha.eval.common/eval-forms-in-temp-ns
A map of the default functions to use with [[fr.jeremyschoffen.prose.alpha.document.common.evaluator/make]]. Namely: - `:slurp-doc`: [[default-slurp-doc]] - `:read-doc`: [[fr.jeremyschoffen.prose.alpha.reader.core/read-from-string]] - `:eval-forms`: [[fr.jeremyschoffen.prose.alpha.eval.common/eval-forms-in-temp-ns]]
(default-slurp-doc path)
Similar to clojure.core/slurp
except that the provided path
will be treated as a java resource.
Similar to `clojure.core/slurp` except that the provided `path` will be treated as a java resource.
(make-evaluator)
(make-evaluator env)
Simillar to fr.jeremyschoffen.prose.alpha.document.common.evaluator/make
with
default-env
used as a default.
Simillar to [[fr.jeremyschoffen.prose.alpha.document.common.evaluator/make]] with [[default-env]] used as a default.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close