rekado pushed a commit to branch master in repository guix. commit 641512d57e831ad41c0949e113eea49038124b84 Author: Romain GARBAGE <romain.garb...@inria.fr> AuthorDate: Mon Jul 22 13:28:11 2024 +0200
gnu: Add ghc-monad-parallel. * gnu/packages/haskell-xyz.scm (ghc-monad-parallel): New variable. Change-Id: I39a5b5392a50fb4f6e9e15ed107705486362d021 --- gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index cf188fe896..4cafbcf514 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -7563,6 +7563,28 @@ that are much lighter weight than IO-threads.") and other added capabilities layered on top of the @code{Par} monad.") (license license:bsd-3))) +(define-public ghc-monad-parallel + (package + (name "ghc-monad-parallel") + (version "0.8") + (source + (origin + (method url-fetch) + (uri (hackage-uri "monad-parallel" version)) + (sha256 + (base32 "1j905cwc440g7rvbhsdkqf50ag7p2bi6cy2rqsk918rn80fqqra4")))) + (build-system haskell-build-system) + (properties '((upstream-name . "monad-parallel"))) + (inputs (list ghc-parallel ghc-transformers-compat)) + (home-page "https://hub.darcs.net/blamario/SCC.wiki/") + (synopsis "Parallel execution of monadic computations") + (description + "This package defines classes of monads that can perform multiple +executions in parallel and combine their results. For any monad that's an +instance of the class, the package re-implements a subset of the +@code{Control.Monad} interface, but with parallel execution.") + (license license:bsd-3))) + (define-public ghc-monadrandom (package (name "ghc-monadrandom")