From 1f46c58b157641c72d71457acc8ac3520573b9b4 Mon Sep 17 00:00:00 2001 From: pgj Date: Sun, 14 Aug 2011 18:01:20 +0000 Subject: This library offers an alternative parallel programming API to that provided by the parallel package. The Par monad allows the simple description of parallel computations, and can be used to add parallelism to pure Haskell code. The basic API is straightforward: the monad supports forking and simple communication in terms of IVars. The library comes with an efficient work-stealing implementation, but the internals are also exposed so that you can build your own scheduler if necessary. WWW: http://github.com/simonmar/monad-par Obtained from: FreeBSD Haskell --- devel/hs-monad-par/Makefile | 21 +++++++++++++++++++++ devel/hs-monad-par/distinfo | 2 ++ devel/hs-monad-par/pkg-descr | 9 +++++++++ 3 files changed, 32 insertions(+) create mode 100644 devel/hs-monad-par/Makefile create mode 100644 devel/hs-monad-par/distinfo create mode 100644 devel/hs-monad-par/pkg-descr (limited to 'devel/hs-monad-par') diff --git a/devel/hs-monad-par/Makefile b/devel/hs-monad-par/Makefile new file mode 100644 index 000000000000..13fd6e20b372 --- /dev/null +++ b/devel/hs-monad-par/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: hs-monad-par +# Date created: July 30, 2011 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= monad-par +PORTVERSION= 0.1.0.1 +CATEGORIES= devel haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= A library for parallel programming based on a monad + +LICENSE= BSD + +CABAL_SETUP= Setup.hs +USE_CABAL= deepseq>=1.1 HUnit>=1.2 + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/devel/hs-monad-par/distinfo b/devel/hs-monad-par/distinfo new file mode 100644 index 000000000000..9554e6244266 --- /dev/null +++ b/devel/hs-monad-par/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/monad-par-0.1.0.1.tar.gz) = b8e36410270edaf2016f255c7c4df6eb9c72440e05be8efee75284b813e0a569 +SIZE (cabal/monad-par-0.1.0.1.tar.gz) = 66527 diff --git a/devel/hs-monad-par/pkg-descr b/devel/hs-monad-par/pkg-descr new file mode 100644 index 000000000000..ac17347d70d6 --- /dev/null +++ b/devel/hs-monad-par/pkg-descr @@ -0,0 +1,9 @@ +This library offers an alternative parallel programming API to that +provided by the parallel package. The Par monad allows the simple +description of parallel computations, and can be used to add parallelism +to pure Haskell code. The basic API is straightforward: the monad +supports forking and simple communication in terms of IVars. The library +comes with an efficient work-stealing implementation, but the internals +are also exposed so that you can build your own scheduler if necessary. + +WWW: http://github.com/simonmar/monad-par -- cgit