guix-commits
[Top][All Lists]
Advanced

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

08/14: gnu: Add ghc-listlike.


From: guix-commits
Subject: 08/14: gnu: Add ghc-listlike.
Date: Fri, 16 Aug 2019 14:57:35 -0400 (EDT)

rob pushed a commit to branch wip-haskell-updates
in repository guix.

commit dc3d666ebd4530d58a91670027e9bc71c3840c49
Author: John Soo <address@hidden>
Date:   Sun Jul 7 17:52:53 2019 -0700

    gnu: Add ghc-listlike.
    
    * gnu/packages/haskell.scm (ghc-listlike): New variable.
---
 gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index fda92ef..d8191c7 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5810,6 +5810,44 @@ Kaseorg.")
 vector spaces.")
     (license license:bsd-3)))
 
+(define-public ghc-listlike
+  (package
+    (name "ghc-listlike")
+    (version "4.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://hackage.haskell.org/package/ListLike/ListLike-";
+         version ".tar.gz"))
+       (sha256
+        (base32
+         "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-vector" ,ghc-vector)
+       ("ghc-dlist" ,ghc-dlist)
+       ("ghc-fmlist" ,ghc-fmlist)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-random" ,ghc-random)
+       ("ghc-utf8-string" ,ghc-utf8-string)))
+    (home-page "https://github.com/JohnLato/listlike";)
+    (synopsis "Generic support for list-like structures")
+    (description
+     "Generic support for list-like structures in Haskell.
+
+The ListLike module provides a common interface to the various Haskell types
+that are list-like.  Predefined interfaces include standard Haskell lists,
+Arrays, ByteStrings, and lazy ByteStrings.  Custom types can easily be made
+ListLike instances as well.
+
+ListLike also provides for String-like types, such as String and ByteString,
+for types that support input and output, and for types that can handle
+infinite lists.")
+    (license license:bsd-3)))
+
 (define-public ghc-logging-facade
   (package
     (name "ghc-logging-facade")



reply via email to

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