vector-buffer

A buffer compatible with Data.Vector.*

Version on this page:0.4.1
LTS Haskell 8.6:0.4.1
Stackage Nightly 2017-03-30:0.4.1
Latest on Hackage:0.4.1
BSD3 licensed by Vivian McPhail
Maintained by haskell.vivian.mcphail@gmail.com

Module documentation for 0.4.1

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.

Changes

0.1:
initial version

0.1.0.1:
added bangs to go functions in mapBufferM*

0.1.0.2:
rationalised index computation
store size of buffer (replicates vector internals -- boo)

0.1.0.3:
use `mod` for index calculations

0.2
changed type signature of 'toVector' thanks to Luke Palmer

0.3
added Unboxed, Primitive, Boxed

0.4
added deepseq dependency

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