vector-buffer

A buffer compatible with Data.Vector.*

LTS Haskell 22.14:0.4.1
Stackage Nightly 2024-03-28: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 [email protected]
This version can be pinned in stack with:vector-buffer-0.4.1@sha256:7d36186fa838614e7e2c4bb9aaa7de63b0515d4ef77eb8c2326cfe58cf35d114,2275

Module documentation for 0.4.1

  • Data
    • Data.Vector
      • Data.Vector.Buffer
      • Data.Vector.Primitive
        • Data.Vector.Primitive.Buffer
      • Data.Vector.Storable
        • Data.Vector.Storable.Buffer
      • Data.Vector.Unboxed
        • Data.Vector.Unboxed.Buffer
Depends on 3 packages(full list with versions):

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.