Check a saved Clojure project with the leanfran CLI. These commands never reload the REPL's namespaces or prove anything about unsaved Vars.
Check a saved Clojure project with the leanfran CLI. These commands never reload the REPL's namespaces or prove anything about unsaved Vars.
(check!)(check! v-or-opts)(check! v
{:keys [dir require-proved? random?]
:or {dir "." require-proved? false}
:as opts})Check the saved project and return a Var's obligations by keyword label
(or by function id and label without a Var). Returns nil obligations if
check fails or does not write a lock. :random? true tests the in-memory
Var separately; :num-tests and :seed go to leanfran.typed/check.
Check the saved project and return a Var's obligations by keyword label (or by function id and label without a Var). Returns nil obligations if check fails or does not write a lock. `:random? true` tests the in-memory Var separately; `:num-tests` and `:seed` go to leanfran.typed/check.
(proof-stub v)(proof-stub v {:keys [dir labels] :or {dir "."}})Return Lean declarations for the Var's missing obligations, or for
:labels if supplied. Does not write to lean/Proofs.
Return Lean declarations for the Var's missing obligations, or for `:labels` if supplied. Does not write to lean/Proofs.
(show-lean v)(show-lean v {:keys [dir] :or {dir "."}})Return the Var's generated model and obligation source and paths, or
:not-generated if the workspace has no model for it.
Return the Var's generated model and obligation source and paths, or `:not-generated` if the workspace has no model for it.
(status)(status v-or-opts)(status v {:keys [dir] :or {dir "."}})Return saved-project status as Clojure data. Only fresh function rows include proof locations or axioms. Pass a Var to select its function rows.
Return saved-project status as Clojure data. Only fresh function rows include proof locations or axioms. Pass a Var to select its function rows.
(sync!)(sync! {:keys [dir] :or {dir "."}})Generate code for the project on disk. :dir defaults to the current
directory. Returns the CLI exit status and output without reloading Vars.
Generate code for the project on disk. `:dir` defaults to the current directory. Returns the CLI exit status and output without reloading Vars.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |