Name : ghc-vector-builder
| |
Version : 0.3.4.1
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : 1.1
| Date : 2018-03-14 05:03:13
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-vector-builder-0.3.4.1-1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
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 < > > foldMap B.singleton list < > > B.singleton element.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/next/openSUSE_Leap_42.3/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-vector-builder
ghc-vector-builder(x86-64)
libHSvector-builder-0.3.4.1-5iwOGnola7W64oisnUIbEi-ghc8.4.1.so()(64bit)
Requires :