aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSiniša Biđin <sinisa@bidin.eu>2015-08-18 22:40:07 +0200
committerEric Bavier <bavier@member.fsf.org>2015-08-23 16:49:57 -0500
commiteb6ae860e53568fa224c4c689af5aae7aeaf3383 (patch)
treed6a81e99c95722c7a920282b76688e06a32b0569 /gnu
parent684f29abfc0434a423c4e929133fb5b5319b7ecb (diff)
downloadguix-eb6ae860e53568fa224c4c689af5aae7aeaf3383.tar.gz
guix-eb6ae860e53568fa224c4c689af5aae7aeaf3383.zip
gnu: Add ghc-dlist.
* gnu/packages/haskell.scm (ghc-dlist): New variable. Signed-off-by: Eric Bavier <bavier@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/haskell.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4c7374b378..225ebbc9e7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -325,6 +325,29 @@ package.")
package.")
(license bsd-3)))
+(define-public ghc-dlist
+ (package
+ (name "ghc-dlist")
+ (version "0.7.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/dlist/dlist-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "1zayvxvkan2s2ixajdr3f5rn1gzhprzv6cww4cbpwjhzw0l7zc08"))))
+ (arguments `(#:tests? #f))
+ (build-system haskell-build-system)
+ (home-page "https://github.com/spl/dlist")
+ (synopsis "Difference lists")
+ (description
+ "Difference lists are a list-like type supporting O(1) append. This is
+particularly useful for efficient logging and pretty printing (e.g. with the
+Writer monad), where list append quickly becomes too expensive.")
+ (license bsd-3)))
+
(define-public ghc-mtl
(package
(name "ghc-mtl")