Okasaki.Implementations.ConstantDeque (Okasaki v1.0.1) View Source
Deque is an implementation of Chris Okasaki's Purely Functional Deque
This means that pushing and popping to both ends of the double-ended-queue happen in constant (O(1)) time.
For the paper upon which this is based: http://www.westpoint.edu/eecs/SiteAssets/SitePages/Faculty Publication Documents/Okasaki/jfp95queue.pdf
Link to this section Summary
Link to this section Types
Specs
t()
Link to this section Functions
Specs
Specs
Specs
Specs
Specs
Callback implementation for FunLand.Mappable.map/2
.
Specs
Specs
Specs
Specs
size(t()) :: non_neg_integer()