[Top][All Lists]

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

branch master updated: gnu: Add ghc-pointedlist.

From: guix-commits
Subject: branch master updated: gnu: Add ghc-pointedlist.
Date: Tue, 07 Jan 2020 14:33:42 -0500

This is an automated email from the git hooks/post-receive script.

brettgilio pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 451775a  gnu: Add ghc-pointedlist.
451775a is described below

commit 451775a5675cdf1dfb9f4503427442b21bb5041a
Author: Alexandru-Sergiu Marton <address@hidden>
AuthorDate: Tue Jan 7 13:33:36 2020 -0600

    gnu: Add ghc-pointedlist.
    * gnu/packages/haskell-xyz.scm (ghc-pointedlist): New variable.
    Signed-off-by: Brett Gilio <address@hidden>
 gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index d3d4896..3a9880f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8659,6 +8659,31 @@ dependencies
 @end itemize")
     (license license:bsd-3)))
+(define-public ghc-pointedlist
+  (package
+    (name "ghc-pointedlist")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "";
+             "pointedlist-" version ".tar.gz"))
+       (sha256
+        (base32
+         "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
+    (build-system haskell-build-system)
+    (home-page
+     "";)
+    (synopsis
+     "Zipper-like comonad which works as a list, tracking a position")
+    (description
+     "A PointedList tracks the position in a non-empty list which works
+similarly to a zipper.  A current item is always required, and therefore
+the list may never be empty.  A circular PointedList wraps around to the
+other end when progressing past the actual edge.")
+    (license license:bsd-3)))
 (define-public ghc-polyparse
     (name "ghc-polyparse")

reply via email to

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