Schema definition of Clara data structures using Prismatic's Schema library. This includes structures for rules and queries, as well as the schema for the underlying Rete network itself. This can be used by tools or other libraries working with rules.
Schema definition of Clara data structures using Prismatic's Schema library. This includes structures for rules and queries, as well as the schema for the underlying Rete network itself. This can be used by tools or other libraries working with rules.
(condition-type condition)
Inputs: [condition] Returns: (s/enum :or :not :and :exists :fact :accumulator :test)
Returns the type of node in a LHS condition expression.
Inputs: [condition] Returns: (s/enum :or :not :and :exists :fact :accumulator :test) Returns the type of node in a LHS condition expression.
(tuple & items)
Given items
, a list of schemas, will generate a schema to validate that a vector contains and is in the order provided
by items
.
Given `items`, a list of schemas, will generate a schema to validate that a vector contains and is in the order provided by `items`.
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 |