Reducing functions.
Reducing functions.
(first)
(first result)
(first result input)
Reducing function that only keeps the first input.
Reducing function that only keeps the first input.
Ignores all args and returns nil
. Useful for skip parsers.
Ignores all args and returns `nil`. Useful for skip parsers.
(last)
(last result)
(last _ input)
Reducing function that only keeps the last input.
Reducing function that only keeps the last input.
(seqex)
(seqex xs)
(seqex xs x)
Reducing function for 'sequence expression' parsers.
Nested seqex collections are flattened.
Reducing function for 'sequence expression' parsers. Nested seqex collections are flattened.
(string)
(string sb)
(string sb x)
Reducing function that builds a string.
Reducing function that builds a string.
(vector)
(vector coll)
(vector coll x)
Reducing function that collects input in a vector.
Like conj!
, but completes with a persistent collection.
Reducing function that collects input in a vector. Like `conj!`, but completes with a persistent collection.
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 |