A buffer compatible with Data.Vector.*

Version on this page:0.4.1
LTS Haskell 11.1:0.4.1
Stackage Nightly 2018-03-19:0.4.1
Latest on Hackage:0.4.1

See all snapshots vector-buffer appears in

BSD3 licensed by Vivian McPhail
Maintained by

Module documentation for 0.4.1

There are no documented modules for this package.

A buffer type that can easily be converted to a Data.Vector.Storable vector from the vector package and compatible with hmatrix.

Elements are pushed into the buffer. When the buffer is converted to a read-only vector, the last-pushed element occurs at the end.

Monadic map functions also operate so that the last-pushed element is treated last.


initial version
added bangs to go functions in mapBufferM*
rationalised index computation
store size of buffer (replicates vector internals -- boo)
use `mod` for index calculations

changed type signature of 'toVector' thanks to Luke Palmer

added Unboxed, Primitive, Boxed

added deepseq dependency

updated for ghc 7.10.1
NFData now defined in vector package
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus