Liking cljdoc? Tell your friends :D

leanfran.repl

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.
raw docstring

check!clj

(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.
sourceraw docstring

proof-stubclj

(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.
sourceraw docstring

show-leanclj

(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.
sourceraw docstring

statusclj

(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.
sourceraw docstring

sync!clj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close