Liking cljdoc? Tell your friends :D

ham-fisted.iterator

Generialized efficient pathways involving iterators.

Generialized efficient pathways involving iterators.
raw docstring

->iteratorclj

(->iterator item)

Convert a stream or an iterable into an iterator.

Convert a stream or an iterable into an iterator.
raw docstring

ary-iterclj

(ary-iter ary-data)

Create an iterator for any primitive or object java array.

Create an iterator for any primitive or object java array.
raw docstring

const-iterableclj

(const-iterable arg)

Return an iterable that always returns a arg.

Return an iterable that always returns a arg.
raw docstring

current-iteratorclj

(current-iterator item)

Return a current iterator - and iterator that retains the current object. This iterator is positioned just before the first object so it's current item is nil.

Return a current iterator - and iterator that retains the current object.
This iterator is positioned just before the first object so it's current item
is nil.
raw docstring

doitercljmacro

(doiter varname iterable & body)

Execute body for every item in the iterable. Expecting side effects, returns nil.

Execute body for every item in the iterable.  Expecting side effects, returns nil.
raw docstring

iter-consclj

(iter-cons vv iter)

Produce a new iterator that points to vv then defers to passed in iterator.

Produce a new iterator that points to vv then defers to passed in iterator.
raw docstring

linear-merge-iteratorclj

(linear-merge-iterator iterators)
(linear-merge-iterator cmp iterators)
(linear-merge-iterator cmp p iterators)

Create a merging iterator - fast for N < 8.

Create a merging iterator - fast for N < 8.
raw docstring

once-iterableclj

(once-iterable init-fn)
(once-iterable valid? init-fn)
(once-iterable valid? init-fn update-fn)

once-iteratorclj

(once-iterator valid? init-fn update-fn)

priority-queue-merge-iteratorclj

(priority-queue-merge-iterator iterators)
(priority-queue-merge-iterator cmp iterators)
(priority-queue-merge-iterator cmp p iterators)

Create a priority queue merging iterator - fast for most N

Create a priority queue merging iterator - fast for most N
raw docstring

queue->iterableclj

(queue->iterable queue term-symbol)

seq-once-iterableclj

(seq-once-iterable init-fn)
(seq-once-iterable valid? init-fn)
(seq-once-iterable valid? init-fn update-fn)

Iterable with efficient reduce but also contains a cached seq conversion so patterns like: (when (seq v) ...) still work

Iterable with efficient reduce but also contains a cached seq conversion so patterns like:
(when (seq v) ...) still work
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close