From 844b795dd59915d7878222592cb5ade445815b15 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:36:43 -0700 Subject: [PATCH 05/12] gnu: Add ghc-fmlist. * gnu/packages/haskell.scm (ghc-fmlist): New variable. --- gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 2cc490eade..6188e477e2 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2758,6 +2758,30 @@ 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) + (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