How to Install and Uninstall ghc-vector-binary-instances Package on openSUSE Leap
Last updated: December 25,2024
1. Install "ghc-vector-binary-instances" package
Please follow the steps below to install ghc-vector-binary-instances on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-vector-binary-instances
Copied
2. Uninstall "ghc-vector-binary-instances" package
Please follow the step by step instructions below to uninstall ghc-vector-binary-instances on openSUSE Leap:
$
sudo zypper remove
ghc-vector-binary-instances
Copied
3. Information about the ghc-vector-binary-instances package on openSUSE Leap
Information for package ghc-vector-binary-instances:
----------------------------------------------------
Repository : Main Repository
Name : ghc-vector-binary-instances
Version : 0.2.5.2-bp155.3.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 62.0 KiB
Installed : No
Status : not installed
Source package : ghc-vector-binary-instances-0.2.5.2-bp155.3.14.src
Upstream URL : https://hackage.haskell.org/package/vector-binary-instances
Summary : 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
"NULNULNULNULNUL...NULNULNULtNULNULNULNULn" Empty . Which you can in turn
compress before writing to disk: . > compress . encode $ v > Chunk
"US139bNULNULN...229240,254:NULNULNUL" Empty . Try the cereal-vector package if
you are looking for Data.Serialize instances.
----------------------------------------------------
Repository : Main Repository
Name : ghc-vector-binary-instances
Version : 0.2.5.2-bp155.3.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 62.0 KiB
Installed : No
Status : not installed
Source package : ghc-vector-binary-instances-0.2.5.2-bp155.3.14.src
Upstream URL : https://hackage.haskell.org/package/vector-binary-instances
Summary : 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
"NULNULNULNULNUL...NULNULNULtNULNULNULNULn" Empty . Which you can in turn
compress before writing to disk: . > compress . encode $ v > Chunk
"US139bNULNULN...229240,254:NULNULNUL" Empty . Try the cereal-vector package if
you are looking for Data.Serialize instances.