mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add ghc-pointedlist.
* gnu/packages/haskell-xyz.scm (ghc-pointedlist): New variable. Signed-off-by: Brett Gilio <brettg@gnu.org>
This commit is contained in:
parent
4639fa325c
commit
451775a567
1 changed files with 25 additions and 0 deletions
|
@ -8659,6 +8659,31 @@ dependencies
|
||||||
@end itemize")
|
@end itemize")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-pointedlist
|
||||||
|
(package
|
||||||
|
(name "ghc-pointedlist")
|
||||||
|
(version "0.6.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://hackage.haskell.org/package/pointedlist/"
|
||||||
|
"pointedlist-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(home-page
|
||||||
|
"http://hackage.haskell.org/package/pointedlist")
|
||||||
|
(synopsis
|
||||||
|
"Zipper-like comonad which works as a list, tracking a position")
|
||||||
|
(description
|
||||||
|
"A PointedList tracks the position in a non-empty list which works
|
||||||
|
similarly to a zipper. A current item is always required, and therefore
|
||||||
|
the list may never be empty. A circular PointedList wraps around to the
|
||||||
|
other end when progressing past the actual edge.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public ghc-polyparse
|
(define-public ghc-polyparse
|
||||||
(package
|
(package
|
||||||
(name "ghc-polyparse")
|
(name "ghc-polyparse")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue