A buffer compatible with Data.Vector.*

Version on this page:0.4.1
LTS Haskell 13.23:0.4.1
Stackage Nightly 2019-05-26:0.4.1
Latest on Hackage:0.4.1

See all snapshots vector-buffer appears in

BSD-3-Clause 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