[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 084/105] gnu: Add ghc-free.
From: |
Paul van der Walt |
Subject: |
[PATCH 084/105] gnu: Add ghc-free. |
Date: |
Thu, 15 Oct 2015 17:33:25 +0200 |
* gnu/packages/haskell.scm (ghc-free): New variable.
---
gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d4206ca..aa05b8a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3325,6 +3325,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 "Monads for free")
+ (description
+ "Free monads are useful for many tree-like structures and domain specific
+languages. If f is a 'Functor' then the free 'Monad' on f is the type of
+trees whose nodes are labeled with the constructors of f. The word
+\"free\" is used in the sense of \"unrestricted\" rather than
+\"zero-cost\": Free f makes no constraining assumptions beyond those
+given by f and the definition of 'Monad'.")
+ (license bsd-3)))
+
(define-public ghc-fast-logger
(package
(name "ghc-fast-logger")
--
2.6.1
- [PATCH 081/105] gnu: Add ghc-reducers., (continued)
- [PATCH 081/105] gnu: Add ghc-reducers., Paul van der Walt, 2015/10/15
- [PATCH 086/105] gnu: ghc-simple-reflect., Paul van der Walt, 2015/10/15
- [PATCH 088/105] gnu: Add ghc-cmdargs., Paul van der Walt, 2015/10/15
- [PATCH 085/105] gnu: Add ghc-adjunctions., Paul van der Walt, 2015/10/15
- [PATCH 090/105] gnu: Add ghc-haskell-src-exts., Paul van der Walt, 2015/10/15
- [PATCH 087/105] gnu: Add ghc-cpphs., Paul van der Walt, 2015/10/15
- [PATCH 089/105] gnu: Add ghc-happy., Paul van der Walt, 2015/10/15
- [PATCH 070/105] gnu: Add ghc-aeson., Paul van der Walt, 2015/10/15
- [PATCH 073/105] gnu: Add ghc-cereal., Paul van der Walt, 2015/10/15
- [PATCH 082/105] gnu: Add ghc-reflection., Paul van der Walt, 2015/10/15
- [PATCH 084/105] gnu: Add ghc-free.,
Paul van der Walt <=
- [PATCH 083/105] gnu: Add ghc-prelude-extras., Paul van der Walt, 2015/10/15
- [PATCH 26/43] gnu: ghc-base64-bytestring: New variable., Paul van der Walt, 2015/10/15
- [PATCH 32/43] gnu: ghc-blaze-builder: New variable., Paul van der Walt, 2015/10/15
- [PATCH 41/43] gnu: ghc-unix-compat: New variable., Paul van der Walt, 2015/10/15
- [PATCH 30/43] gnu: ghc-transformers-base: New variables., Paul van der Walt, 2015/10/15