Liking cljdoc? Tell your friends :D

bifurcan-clj.linear-list

Functions for working with linear lists, which are optimized for linear use, rather than efficient forking.

Functions for working with linear lists, which are optimized for linear use,
rather than efficient forking.
raw docstring

clearclj

(clear xs)

Clears the contents of a linear list.

Clears the contents of a linear list.
sourceraw docstring

Fromcljprotocol

fromclj

(from x)

Coerces x to a linear list.

Coerces x to a linear list.
source

linear-listclj

(linear-list)
(linear-list capacity)

Constructs a new linear list. Optionally takes a capacity.

Constructs a new linear list. Optionally takes a capacity.
sourceraw docstring

pop-firstclj

(pop-first xs)

Removes and returns the first element of the list.

Removes and returns the first element of the list.
sourceraw docstring

pop-lastclj

(pop-last xs)

Removes and returns the last element of the list.

Removes and returns the last element of the list.
sourceraw docstring

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

× close