Shared registry of clojure.core predicates that Skeptic can type. Two consumers:
Shared registry of clojure.core predicates that Skeptic can type.
Two consumers:
- native_fns: each predicate is typed Dyn -> Bool when invoked
- bridge admission: (s/pred f) and Malli's bare-predicate-as-schema
both convert to the predicate's witness type.(predicate-fn-entries)(predicate-fn-type qualified-sym)Inputs: [qualified-sym :- s/Symbol] Returns: ats/SemanticType
Inputs: [qualified-sym :- s/Symbol] Returns: ats/SemanticType
(predicate? sym)(resolve-predicate-symbol sym)Inputs: [sym :- s/Symbol] Returns: (s/maybe s/Symbol)
Inputs: [sym :- s/Symbol] Returns: (s/maybe s/Symbol)
(witness-type qualified-sym prov)Inputs: [qualified-sym :- s/Symbol prov :- provs/Provenance] Returns: ats/SemanticType
Inputs: [qualified-sym :- s/Symbol prov :- provs/Provenance] Returns: ats/SemanticType
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 |