qex v0.2.0 Qex

A :queue wrapper with improvements in API and addition of Protocol implementations

Protocols

Inspect and Enumerable are implemented

Summary

Types

t()
t

Functions

new(init_data \\ [])
new([term] | Range.t) :: t
pop(qex)
pop(t) :: {{:value, term}, t} | {:empty, t}
pop!(qex)
pop!(t) :: {term, t} | no_return
push(qex, item)
push(t, term) :: t