From 8150d6f7c69a943a47a6d45fadfb2cbe085192e9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:36:43 -0700 Subject: [PATCH 06/13] gnu: Add ghc-fmlist. --- gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index bb3c55070b..fced27227a 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2835,6 +2835,31 @@ by the event-list package.") computation with an IO base.") (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) + (arguments `(#:tests? #f)) + (home-page "https://github.com/sjoerdvisscher/fmlist") + (synopsis "FoldMap lists") + (description + "FoldMap lists are lists represented by their foldMap function. FoldMap +lists have 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-storablevector (package (name "ghc-storablevector") -- 2.22.0