Safe Haskell | None |
---|
Data.RingBuffer.MapBuffer
Description
A RingBuffer
implementation based on IntMaps. Operations have the same
complexity as the underlying IntMap
Documentation
class Initializable c whereSource
Create a new Initializable
with the given value at every position.
Essentially a generalized replicate
Instances
class RingBuffer c whereSource
The RingBuffer interface.
Instances must define length
, push
, and '(!)'. Instances may define
slice
for better performance.
Methods
Instances