diff options
author | Romain GARBAGE <romain.garbage@inria.fr> | 2024-07-22 13:28:11 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-07-23 00:31:19 +0200 |
commit | 641512d57e831ad41c0949e113eea49038124b84 (patch) | |
tree | 87cd78dcc1031b4800a6697114c26e0a34425daf /gnu/packages/haskell-xyz.scm | |
parent | 946b0274cc4bf23d8e57ad85812add03409d4fd3 (diff) | |
download | guix-641512d57e831ad41c0949e113eea49038124b84.tar.gz guix-641512d57e831ad41c0949e113eea49038124b84.zip |
gnu: Add ghc-monad-parallel.
* gnu/packages/haskell-xyz.scm (ghc-monad-parallel): New variable.
Change-Id: I39a5b5392a50fb4f6e9e15ed107705486362d021
Diffstat (limited to 'gnu/packages/haskell-xyz.scm')
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 22 |
1 files changed, 22 insertions, 0 deletions
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") |