Okasaki v1.0.0 API Reference

Modules

Well-structured Queues for Elixir, offering a common interface with multiple implementations with varying performance guarantees that can be switched in your configuration

Public interface to work with double-ended queue-like structures

The standard implementation of a deque as a pair of lists

The standard implementation of a queue as a pair of lists

Deque is an implementation of Chris Okasaki’s Purely Functional Deque

Okasaki.ConstantQueue is a Purely Functional Queue that performs both insertion and removal at guaranteed O(1) (constant) time

A deque implementation wrapping the built-in :queue module

A queue implementation wrapping the built-in :queue module

Public interface to work with queue-like structures

Protocols