Liking cljdoc? Tell your friends :D

state-space.internal.frontier


queueclj

(queue)

Creates an empty lazy-chunk queue.

Creates an empty lazy-chunk queue.
sourceraw docstring

queue-popclj

(queue-pop frontier)

Returns {:item value :frontier updated-queue}, or nil when empty.

Returns {:item value :frontier updated-queue}, or nil when empty.
sourceraw docstring

queue-pushclj

(queue-push frontier chunk)

Appends a lazy chunk to a queue, behind its remaining items and chunks.

Appends a lazy chunk to a queue, behind its remaining items and chunks.
sourceraw docstring

stackclj

(stack)

Creates an empty lazy-chunk stack.

Creates an empty lazy-chunk stack.
sourceraw docstring

stack-popclj

(stack-pop frontier)

Returns {:item value :frontier updated-stack}, or nil when empty.

Returns {:item value :frontier updated-stack}, or nil when empty.
sourceraw docstring

stack-pushclj

(stack-push frontier chunk)

Pushes a lazy chunk onto a stack, ahead of its remaining items.

Pushes a lazy chunk onto a stack, ahead of its remaining items.
sourceraw 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