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.
(clear xs)
Clears the contents of a linear list.
Clears the contents of a linear list.
(linear-list)
(linear-list capacity)
Constructs a new linear list. Optionally takes a capacity.
Constructs a new linear list. Optionally takes a capacity.
(pop-first xs)
Removes and returns the first element of the list.
Removes and returns the first element of the list.
(pop-last xs)
Removes and returns the last element of the list.
Removes and returns the last element of the list.
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 |