diff options
Diffstat (limited to 'dev-haskell/vector-builder/metadata.xml')
-rw-r--r-- | dev-haskell/vector-builder/metadata.xml | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-haskell/vector-builder/metadata.xml b/dev-haskell/vector-builder/metadata.xml index f63fd8a2495e..937381521944 100644 --- a/dev-haskell/vector-builder/metadata.xml +++ b/dev-haskell/vector-builder/metadata.xml @@ -5,32 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - 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 - </longdescription> </pkgmetadata> |