Patchwork [17/42] gnu: Add ghc-monads-tf.

login
register
mail settings
Submitter non such
Date Sept. 18, 2016, 4:09 p.m.
Message ID <20160918161022.26135-17-ng0@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/15723/
State New
Headers show

Comments

non such - Sept. 18, 2016, 4:09 p.m.
* gnu/packages/haskell.scm (ghc-monads-tf): New variable.
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 1c4f970..de300cc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6822,4 +6822,27 @@  of two versions of a source file.  It provides a good balance of performance,
 nice output for humans, and implementation simplicity.")
     (license license:bsd-3)))
 
+(define-public ghc-monads-tf
+  (package
+    (name "ghc-monads-tf")
+    (version "0.1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/monads-tf/monads-tf-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
+    (build-system haskell-build-system)
+    (home-page "http://hackage.haskell.org/package/monads-tf")
+    (synopsis "Monad classes, using type families")
+    (description
+     "Monad classes using type families, with instances for various monad transformers,
+inspired by the paper 'Functional Programming with Overloading and Higher-Order
+Polymorphism', by Mark P Jones.  This package is almost a compatible replacement for
+the @code{mtl-tf} package.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here