combobuffer-0.2: Various buffer implementations

Safe HaskellNone

Data.RingBuffer.SeqBuffer

Description

A RingBuffer based on Seq. Asymptotic behavior is quite good in all cases, but constant factors are very high.

Synopsis

Documentation

data SeqBuffer a Source

Instances

new :: Num a => Int -> SeqBuffer aSource

Create a new SeqBuffer, initialized to all 0's, of the given size