name:                 vector-binary-instances
version:              0.2.5.2
visibility:           public
id:                   vector-binary-instances-0.2.5.2-JA1Qjvdu9kP5XnfRq7vmfR
key:                  vector-binary-instances-0.2.5.2-JA1Qjvdu9kP5XnfRq7vmfR
license:              BSD-3-Clause
maintainer:
    dons00@gmail.com, bos@serpentine.com, Ben Gamari <ben@smart-cactus.org>

author:               Don Stewart
stability:            Experimental
homepage:             https://github.com/bos/vector-binary-instances
synopsis:             Instances of Data.Binary for vector
description:
    Instances for Binary for the types defined in the vector package,
    making it easy to serialize vectors to and from disk. We use the
    generic interface to vectors, so all vector types are supported.
    Specific instances are provided for unboxed, boxed and storable
    vectors.
    .
    To serialize a vector:
    .
    > *Data.Vector.Binary> let v = Data.Vector.fromList [1..10]
    > *Data.Vector.Binary> v
    > fromList [1,2,3,4,5,6,7,8,9,10] :: Data.Vector.Vector
    > *Data.Vector.Binary> encode v
    > Chunk "\NUL\NUL\NUL\NUL\NUL...\NUL\NUL\NUL\t\NUL\NUL\NUL\NUL\n" Empty
    .
    Which you can in turn compress before writing to disk:
    .
    > compress . encode $ v
    > Chunk "\US\139\b\NUL\NUL\N...\229\240,\254:\NUL\NUL\NUL" Empty
    .
    Try the cereal-vector package if you are looking for Data.Serialize
    instances.

category:             Data
abi:                  e58632b326b535786d76802b6147934e
exposed:              True
exposed-modules:      Data.Vector.Binary
import-dirs:
    /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1/vector-binary-instances-0.2.5.2-JA1Qjvdu9kP5XnfRq7vmfR

library-dirs:
    /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1/vector-binary-instances-0.2.5.2-JA1Qjvdu9kP5XnfRq7vmfR

library-dirs-static:
    /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1/vector-binary-instances-0.2.5.2-JA1Qjvdu9kP5XnfRq7vmfR

dynamic-library-dirs: /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1
data-dir:
    /usr/pkg/share/aarch64-netbsd-ghc-9.10.1/vector-binary-instances-0.2.5.2

hs-libraries:         HSvector-binary-instances-0.2.5.2-JA1Qjvdu9kP5XnfRq7vmfR
depends:
    base-4.20.0.0-inplace binary-0.8.9.2-inplace
    vector-0.13.2.0-IQjxDWDvdFJE3A4jpN00x9

haddock-interfaces:
    /usr/pkg/share/doc/aarch64-netbsd-ghc-9.10.1/vector-binary-instances-0.2.5.2/html/vector-binary-instances.haddock

haddock-html:
    /usr/pkg/share/doc/aarch64-netbsd-ghc-9.10.1/vector-binary-instances-0.2.5.2/html
