(parse-assertions forms)Parses assertion forms in a single linear pass, replacing the spec-based
conformance that suffers from backtracking. Returns a vector of blocks, each
a map with optional :behavior string and :triples vector.
A string is a behavior label when the next form is NOT an arrow (meaning the string cannot be the :actual of a triple). Otherwise the string is the :actual of the next triple.
Parses assertion `forms` in a single linear pass, replacing the spec-based conformance that suffers from backtracking. Returns a vector of blocks, each a map with optional `:behavior` string and `:triples` vector. A string is a behavior label when the next form is NOT an arrow (meaning the string cannot be the :actual of a triple). Otherwise the string is the :actual of the next triple.
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 |