[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28884] [PATCH 11/38] gnu: Add ghc-abstract-deque.
From: |
rsiddharth |
Subject: |
[bug#28884] [PATCH 11/38] gnu: Add ghc-abstract-deque. |
Date: |
Wed, 18 Oct 2017 03:07:31 +0000 |
* gnu/packages/haskell.scm (ghc-abstract-deque): New variable.
---
gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 73c4597b0..217f0e34b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9359,4 +9359,41 @@ module for more details.")
and other added capabilities layered on top of the @code{Par} monad.")
(license license:bsd-3)))
+(define-public ghc-abstract-deque
+ (package
+ (name "ghc-abstract-deque")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "abstract-deque-" version "/"
+ "abstract-deque-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-random" ,ghc-random)))
+ (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
+ (synopsis "Abstract, parameterized interface to mutable Deques for
Haskell")
+ (description "This Haskell package provides an abstract interface to
+highly-parameterizable queues/deques.
+
+Background: There exists a feature space for queues that extends between:
+
address@hidden
address@hidden Simple, single-ended, non-concurrent, bounded queues
+
address@hidden Double-ended, threadsafe, growable queues with important points
+inbetween (such as the queues used for work-stealing).
address@hidden itemize
+
+This package includes an interface for Deques that allows the programmer
+to use a single API for all of the above, while using the type-system to
+select an efficient implementation given the requirements (using type
families).
+
+This package also includes a simple reference implementation based on
address@hidden and @code{Data.Sequence}.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.15.0.rc0
- [bug#28884] [PATCH 04/38] gnu: Add ghc-math-functions., (continued)
- [bug#28884] [PATCH 04/38] gnu: Add ghc-math-functions., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 03/38] gnu: Add ghc-erf., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 02/38] gnu: Add ghc-vector-th-unbox., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 09/38] gnu: Add ghc-abstract-par., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 07/38] gnu: Add ghc-language-haskell-extract., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 05/38] gnu: Add ghc-mwc-random., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 06/38] gnu: Add ghc-vector-algorithms., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 08/38] gnu: Add ghc-test-framework-th., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 11/38] gnu: Add ghc-abstract-deque.,
rsiddharth <=
- [bug#28884] [PATCH 12/38] gnu: Add ghc-monad-par., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 10/38] gnu: Add ghc-monad-par-extras., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 13/38] gnu: ghc-base-orphans: Update to 0.6., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 15/38] gnu: Add ghc-chunked-data., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 14/38] gnu: Add ghc-statistics., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 21/38] gnu: Add ghc-entropy., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 19/38] gnu: Add ghc-monadrandom., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 17/38] gnu: Add ghc-tuple-th., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 18/38] gnu: Add ghc-contravariant-extras., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 16/38] gnu: Add ghc-base-prelude., rsiddharth, 2017/10/17