From f169f713e467fa1d8bb878f8a377c205b40ed8cb Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:36:43 -0700 Subject: [PATCH] gnu: Add ghc-fmlist. * gnu/packages/haskell-xyz.scm (ghc-fmlist): New variable. Signed-off-by: Timothy Sample --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index b67754b1b9..1130e160c2 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3555,6 +3555,30 @@ simple general-purpose data structure\".") arithmetic.") (license license:bsd-3))) +(define-public ghc-fmlist + (package + (name "ghc-fmlist") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://hackage.haskell.org/package/fmlist/fmlist-" + version ".tar.gz")) + (sha256 + (base32 + "02868865hqm189h5wjd916abvqwkhbrx5b0119s1dwp70ifvbi4g")))) + (build-system haskell-build-system) + (home-page "https://github.com/sjoerdvisscher/fmlist") + (synopsis "FoldMap lists") + (description "FoldMap lists are lists represented by their +@code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and +append, just like DLists, but other operations might have favorable +performance characteristics as well. These wild claims are still +completely unverified though.") + (license license:bsd-3))) + (define-public ghc-foldl (package (name "ghc-foldl")