std.pretty.deque
catvec
(catvec)(catvec v1)(catvec v1 v2)(catvec v1 v2 v3)(catvec v1 v2 v3 v4)(catvec v1 v2 v3 v4 & vn)Concatenates the given vectors in logarithmic time.
conj-both
added in 3.0
(conj-both l deque r)conj-left
added in 3.0
(conj-left v & more)conj-right
added in 3.0
(conj-right v & more)peek
added in 1.0
(peek coll)For a list or queue, same as first, for a vector, same as, but much more efficient than, last. If the collection is empty, returns nil.
pop
added in 1.0
(pop coll)For a list or queue, returns a new list/queue without the first item, for a vector, returns a new vector without the last item. If the collection is empty, throws an exception. Note - not the same as next/butlast.
pop-left
added in 3.0
(pop-left v)update-left
added in 3.0
(update-left deque f & args)update-right
added in 3.0
(update-right deque f & args)vector
added in 1.0
(vector)(vector a)(vector a b)(vector a b c)(vector a b c d)(vector a b c d e)(vector a b c d e f)(vector a b c d e f & args)Creates a new vector containing the args.