[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
110/154: gnu: Add ghc-free.
From: |
Paul |
Subject: |
110/154: gnu: Add ghc-free. |
Date: |
Fri, 23 Oct 2015 07:14:50 +0000 |
toothbrush pushed a commit to branch master
in repository guix.
commit dc2e8ab7ea84bfc980bf8bbbf22f9265afab9297
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 15:48:22 2015 +0200
gnu: Add ghc-free.
* gnu/packages/haskell.scm (ghc-free): New variable.
---
gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6619ec9..599a50d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3212,6 +3212,43 @@ where every element did not have to have an inverse,
thus the name
semigroup.")
(license bsd-3)))
+(define-public ghc-free
+ (package
+ (name "ghc-free")
+ (version "4.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/free/free-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0sr8phvrb4ny8j1wzq55rdn8q4br23q4pw2j276npr844825jr9p"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-prelude-extras" ,ghc-prelude-extras)
+ ("ghc-profunctors" ,ghc-profunctors)
+ ("ghc-exceptions" ,ghc-exceptions)))
+ (inputs
+ `(("ghc-bifunctors" ,ghc-bifunctors)
+ ("ghc-comonad" ,ghc-comonad)
+ ("ghc-distributive" ,ghc-distributive)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-semigroupoids" ,ghc-semigroupoids)
+ ("ghc-semigroups" ,ghc-semigroups)))
+ (home-page "http://github.com/ekmett/free/")
+ (synopsis "Unrestricted monads for Haskell")
+ (description "This library provides free monads, which are useful for many
+tree-like structures and domain specific languages. If @code{f} is a
address@hidden then the free @code{Monad} on @code{f} is the type of trees
+whose nodes are labeled with the constructors of @code{f}. The word \"free\"
+is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
+f} makes no constraining assumptions beyond those given by @code{f} and the
+definition of @code{Monad}.")
+ (license bsd-3)))
+
(define-public ghc-fast-logger
(package
(name "ghc-fast-logger")
- 98/154: gnu: Add ghc-zip-archive., (continued)
- 98/154: gnu: Add ghc-zip-archive., Paul, 2015/10/23
- 101/154: gnu: Add ghc-comonad., Paul, 2015/10/23
- 102/154: gnu: Add HScolour., Paul, 2015/10/23
- 103/154: gnu: Add ghc-polyparse., Paul, 2015/10/23
- 104/154: gnu: Add ghc-extra., Paul, 2015/10/23
- 106/154: gnu: Add ghc-semigroupoids., Paul, 2015/10/23
- 105/154: gnu: Add ghc-profunctors., Paul, 2015/10/23
- 107/154: gnu: Add ghc-reducers., Paul, 2015/10/23
- 109/154: gnu: Add ghc-prelude-extras., Paul, 2015/10/23
- 108/154: gnu: Add ghc-reflection., Paul, 2015/10/23
- 110/154: gnu: Add ghc-free.,
Paul <=
- 112/154: gnu: Add ghc-simple-reflect., Paul, 2015/10/23
- 111/154: gnu: Add ghc-adjunctions., Paul, 2015/10/23
- 114/154: gnu: Add ghc-cmdargs., Paul, 2015/10/23
- 113/154: gnu: Add cpphs., Paul, 2015/10/23
- 115/154: gnu: Add ghc-happy., Paul, 2015/10/23
- 116/154: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/23
- 117/154: gnu: Add hlint., Paul, 2015/10/23
- 118/154: gnu: Add ghc-resourcet., Paul, 2015/10/23
- 120/154: gnu: Add ghc-xss-sanitize., Paul, 2015/10/23
- 119/154: gnu: Add ghc-streaming-commons., Paul, 2015/10/23