GNU bug report logs -
#28884
[PATCH 00/38] Add ghc-aws and its dependencies.
Previous Next
Reported by: rsiddharth <s <at> ricketyspace.net>
Date: Wed, 18 Oct 2017 03:04:01 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #137 received at 28884 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
rsiddharth <s <at> ricketyspace.net> skribis:
> * gnu/packages/haskell.scm (ghc-vector-builder): New variable.
Removed the example:
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2c4752ac8..9fd28fe05 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9922,35 +9922,12 @@ the community, with the missing features being added with pull-requests.")
(home-page "https://github.com/nikita-volkov/vector-builder")
(synopsis "Vector builder for Haskell")
(description "This Haskell package provides an API for constructing vectors.
-
It provides the composable @code{Builder} abstraction, which has instances of the
@code{Monoid} and @code{Semigroup} classes.
-Usage:
-
-First you use the @code{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:
-
-@verbatim
-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
-@end verbatim
-")
+You would first use the @code{Builder} abstraction to specify the structure of
+the vector; then you can execute the builder to actually produce the
+vector. ")
(license license:expat)))
;;; haskell.scm ends here
This bug report was last modified 7 years and 271 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.