[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/25: gnu: Add ghc-lens-family-core.
From: |
guix-commits |
Subject: |
16/25: gnu: Add ghc-lens-family-core. |
Date: |
Fri, 29 May 2020 11:01:01 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit bcd35444ca64131784799731e92042902615ad65
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Fri Apr 10 21:17:48 2020 -0700
gnu: Add ghc-lens-family-core.
* gnu/packages/haskell-xyz.scm (ghc-lens-family-core): 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 cef3261..510a77d 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6660,6 +6660,42 @@ of getters, folds, isomorphisms, traversals, setters and
lenses and their
indexed variants.")
(license license:bsd-3)))
+(define-public ghc-lens-family-core
+ (package
+ (name "ghc-lens-family-core")
+ (version "1.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://hackage/package/lens-family-core/lens-family-core-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi"))))
+ (build-system haskell-build-system)
+ (home-page
+ "http://hackage.haskell.org/package/lens-family-core")
+ (synopsis "Haskell 98 Lens Families")
+ (description
+ "This package provides first class functional references. In addition to
+the usual operations of getting, setting and composition, plus integration
+with the state monad, lens families provide some unique features:
+
+@itemize
+@item Polymorphic updating
+@item Traversals
+@item Cast projection functions to read-only lenses
+@item Cast @code{toList} functions to read-only traversals
+@item Cast semantic editor combinators to modify-only traversals
+@end itemize
+
+For optimal first-class support use the lens-family package with rank 2/rank N
+polymorphism. @code{Lens.Family.Clone} allows for first-class support of
+lenses and traversals for those who require Haskell 98.")
+ (license license:bsd-3)))
+
(define-public ghc-libffi
(package
(name "ghc-libffi")
- 08/25: gnu: Add ghc-spoon., (continued)
- 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, 2020/05/29
- 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 <=
- 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
- 12/25: gnu: Add ghc-pgp-wordlist., guix-commits, 2020/05/29
- 14/25: gnu: Add ghc-turtle., guix-commits, 2020/05/29