Common functions across all Bifurcan collections.
Common functions across all Bifurcan collections.
(clone coll)A shallow copy of a collection.
A shallow copy of a collection.
(forked coll)This returns a data structure which is forked, which is equivalent to Clojure's persistent data structures, also sometimes called functional or immutable.
This returns a data structure which is forked, which is equivalent to Clojure's persistent data structures, also sometimes called functional or immutable.
(functional f)(functional f a)(functional f a b)(functional f a b & more)Wraps a Clojure function (or anything that works like a function, like sets and maps) in a Java functional wrapper that implements Supplier, Function, BiFunction, Predicate, etc. Functions can do anything if they believe in themselves.
If additional args a b ... are provided, produces (sort of) curried functions which call (f x a b ...).
Wraps a Clojure function (or anything that works like a function, like sets and maps) in a Java functional wrapper that implements Supplier, Function, BiFunction, Predicate, etc. Functions can do anything if they believe in themselves. If additional args a b ... are provided, produces (sort of) curried functions which call (f x a b ...).
(linear coll)This returns a data structure which is linear, or temporarily mutable.
This returns a data structure which is linear, or temporarily mutable.
(nth coll n)(nth coll n not-found)Like Clojure nth, returns the nth element of a collection. Takes an optional not-found value.
Like Clojure nth, returns the nth element of a collection. Takes an optional not-found value.
(split coll parts)Splits the collection into roughly even pieces, for parallel processing.
Splits the collection into roughly even pieces, for parallel processing.
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 |