guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/39: gnu: Add ghc-abstract-deque.


From: Ludovic Courtès
Subject: 11/39: gnu: Add ghc-abstract-deque.
Date: Sun, 22 Oct 2017 18:32:41 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f978e2ac2043d35d69b35b36b776aca8b2cae0ac
Author: rsiddharth <address@hidden>
Date:   Wed Oct 18 03:07:31 2017 +0000

    gnu: Add ghc-abstract-deque.
    
    * gnu/packages/haskell.scm (ghc-abstract-deque): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 987dffe..0a463fa 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9281,4 +9281,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]