How to Install and Uninstall ghc-vector-builder Package on openSuSE Tumbleweed

Last updated: May 15,2024

1. Install "ghc-vector-builder" package

This guide let you learn how to install ghc-vector-builder on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install ghc-vector-builder

2. Uninstall "ghc-vector-builder" package

This tutorial shows how to uninstall ghc-vector-builder on openSuSE Tumbleweed:

$ sudo zypper remove ghc-vector-builder

3. Information about the ghc-vector-builder package on openSuSE Tumbleweed

Information for package ghc-vector-builder:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-vector-builder
Version : 0.3.8.2-1.7
Arch : x86_64
Vendor : openSUSE
Installed Size : 57,1 KiB
Installed : No
Status : not installed
Source package : ghc-vector-builder-0.3.8.2-1.7.src
Summary : Vector builder
Description :
An API for efficient and convenient construction of vectors. It provides the
composable `Builder` abstraction, which has instances of the `Monoid` and
`Semigroup` classes.
[Usage]
First you use the `Builder` abstraction to specify the structure of the vector.
Then you execute the builder to actually produce the vector.
[Example]
The following code shows how you can efficiently concatenate different
datastructures into a single immutable vector:
> >import qualified Data.Vector as A >import qualified VectorBuilder.Builder as
B >import qualified VectorBuilder.Vector as C > > >myVector :: A.Vector a ->
[a] -> a -> A.Vector a >myVector vector list element = > C.build builder >
where > builder = > B.vector vector <> > B.foldable list <> > B.singleton
element.

5. The same packages on other Linux Distributions