mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: Add ghc-dlist.
* gnu/packages/haskell.scm (ghc-dlist): New variable. Signed-off-by: Eric Bavier <bavier@member.fsf.org>
This commit is contained in:
parent
684f29abfc
commit
eb6ae860e5
1 changed files with 23 additions and 0 deletions
|
@ -325,6 +325,29 @@ (define-public ghc-data-default-instances-old-locale
|
||||||
package.")
|
package.")
|
||||||
(license bsd-3)))
|
(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
|
(define-public ghc-mtl
|
||||||
(package
|
(package
|
||||||
(name "ghc-mtl")
|
(name "ghc-mtl")
|
||||||
|
|
Loading…
Reference in a new issue