Liking cljdoc? Tell your friends :D

bifurcan-clj.core

Common functions across all Bifurcan collections.

Common functions across all Bifurcan collections.
raw docstring

cloneclj

(clone coll)

A shallow copy of a collection.

A shallow copy of a collection.
sourceraw docstring

forkedclj

(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.
sourceraw docstring

functionalclj

(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 ...).
sourceraw docstring

linearclj

(linear coll)

This returns a data structure which is linear, or temporarily mutable.

This returns a data structure which is linear, or temporarily mutable.
sourceraw docstring

linear?clj

(linear? coll)

Is a collection linear?

Is a collection linear?
sourceraw docstring

nthclj

(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.
sourceraw docstring

sizeclj

(size coll)

How large is a collection?

How large is a collection?
sourceraw docstring

splitclj

(split coll parts)

Splits the collection into roughly even pieces, for parallel processing.

Splits the collection into roughly even pieces, for parallel processing.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close