[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/25: gnu: Add ghc-managed.
From: |
guix-commits |
Subject: |
15/25: gnu: Add ghc-managed. |
Date: |
Fri, 29 May 2020 11:01:01 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit bcfe9dba4dfc95b294cf7b72fd77a39fbbc22f39
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Fri Apr 10 21:15:54 2020 -0700
gnu: Add ghc-managed.
* gnu/packages/haskell-xyz.scm (ghc-managed): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/haskell-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 686b898..cef3261 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -7137,6 +7137,42 @@ With it, you can determine the type of a file by
examining its contents rather
than its name.")
(license license:bsd-3)))
+(define-public ghc-managed
+ (package
+ (name "ghc-managed")
+ (version "1.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://hackage/package/managed/managed-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/managed")
+ (synopsis "Monad for managed values")
+ (description
+ "In Haskell you very often acquire values using the with... idiom using
+functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
+special case of the ContT monad (from transformers) or the Codensity
+monad (from kan-extensions). The main purpose behind this package is to
+provide a restricted form of these monads specialized to this unusually common
+case.
+
+The reason this package defines a specialized version of these types
+is to:
+
+@itemize
+@item be more beginner-friendly,
+@item simplify inferred types and error messages, and:
+@item provide some additional type class instances that would otherwise be
+orphan instances
+@end itemize")
+ (license license:bsd-3)))
+
(define-public ghc-markdown-unlit
(package
(name "ghc-markdown-unlit")
- 02/25: gnu: Add ghc-data-fix., (continued)
- 02/25: gnu: Add ghc-data-fix., guix-commits, 2020/05/29
- 03/25: gnu: Add ghc-cborg., guix-commits, 2020/05/29
- 08/25: gnu: Add ghc-spoon., guix-commits, 2020/05/29
- 06/25: gnu: Add ghc-generic-random., guix-commits, 2020/05/29
- 22/25: gnu: Add ghc-prettyprinter-ansi-terminal., guix-commits, 2020/05/29
- 18/25: gnu: Add ghc-repline., guix-commits, 2020/05/29
- 19/25: gnu: Add ghc-haskeline-0.8., guix-commits, 2020/05/29
- 09/25: gnu: Add ghc-special-values., guix-commits, 2020/05/29
- 21/25: gnu: Add ghc-prettyprinter-1.6., guix-commits, 2020/05/29
- 11/25: gnu: Add ghc-pretty-simple., guix-commits, 2020/05/29
- 15/25: gnu: Add ghc-managed.,
guix-commits <=
- 23/25: gnu: Add ghc-generic-random-1.3.0.1., guix-commits, 2020/05/29
- 16/25: gnu: Add ghc-lens-family-core., guix-commits, 2020/05/29
- 17/25: gnu: Add ghc-prettyprinter., guix-commits, 2020/05/29
- 01/25: gnu: Add ghc-inspection-testing., guix-commits, 2020/05/29
- 20/25: gnu: Add ghc-repline-0.3., guix-commits, 2020/05/29
- 07/25: gnu: Add ghc-text-manipulate., guix-commits, 2020/05/29
- 10/25: gnu: Add ghc-serialise., guix-commits, 2020/05/29
- 25/25: gnu: Add dhall., guix-commits, 2020/05/29
- 05/25: gnu: Add ghc-dotgen., guix-commits, 2020/05/29
- 13/25: gnu: Add ghc-optional-args., guix-commits, 2020/05/29