malli instrumentation of leanfran.typed/defn functions from their Lean
signatures. malli is the user's dependency; this namespace loads it when
called.
malli instrumentation of `leanfran.typed/defn` functions from their Lean signatures. malli is the user's dependency; this namespace loads it when called.
(check-compatibility! v declarations origin fail)Compare a loaded Var's Malli registration to its same-file declaration.
Compare a loaded Var's Malli registration to its same-file declaration.
(compatibility schema {:keys [arities]})Diagnostics for comparing one literal Malli function schema with a Lean signature.
Diagnostics for comparing one literal Malli function schema with a Lean signature.
(instrument! nss)(instrument! nss opts)register! the functions of the namespaces nss, then instrument them with
malli.instrument/instrument!, so that calls with arguments outside their
Lean types throw. opts go to instrument! (:report, :scope).
`register!` the functions of the namespaces `nss`, then instrument them with `malli.instrument/instrument!`, so that calls with arguments outside their Lean types throw. `opts` go to `instrument!` (`:report`, `:scope`).
(register! nss)Register the Malli function schema (leanfran.types/fn-schema) of each
Lean-signed function in nss that has no registered schema. Returns the
newly registered vars; leaves user registrations such as malli.core/=> intact.
Register the Malli function schema (`leanfran.types/fn-schema`) of each Lean-signed function in `nss` that has no registered schema. Returns the newly registered vars; leaves user registrations such as `malli.core/=>` intact.
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 |