Okasaki.Implementations.AmortizedQueue (Okasaki v1.0.1) View Source
The standard implementation of a queue as a pair of lists.
This implementation is somewhat simpler than the guaranteed constant-time implementation in Queue
,
but any particular remove
might take O(n).
Link to this section Summary
Link to this section Types
Specs
t()
Link to this section Functions
Specs
Specs
Specs
Specs
Callback implementation for FunLand.Mappable.map/2
.
Specs
Specs
size(t()) :: non_neg_integer()