The 'Par' monad(s) offer an alternative parallel programming API
to that provided by the parallel package. A '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: a 'Par' monad supports forking and simple communication in terms of 'IVar's. This module is an interface module only. It provides a number of type clasess, but not an implementation. The type classes separate different levels of 'Par' functionality. See the "Control.Monad.Par.Class" module for more details. The monad-par library is one example of a concrete library providing this interface. ok jasper@
This commit is contained in:
parent
e52927accc
commit
14b5086838
18
devel/hs-abstract-par/Makefile
Normal file
18
devel/hs-abstract-par/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/31 19:15:03 kili Exp $
|
||||
|
||||
COMMENT = type classes generalizing monad-par
|
||||
|
||||
DISTNAME = abstract-par-0.3.1
|
||||
CATEGORIES = devel
|
||||
|
||||
# BSD3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODULES = lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/hs-abstract-par/distinfo
Normal file
2
devel/hs-abstract-par/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ghc/abstract-par-0.3.1.tar.gz) = 06ueppEA2QZosiysmiUz1STo1b82J5IzPGANgYAo+2M=
|
||||
SIZE (ghc/abstract-par-0.3.1.tar.gz) = 4792
|
15
devel/hs-abstract-par/pkg/DESCR
Normal file
15
devel/hs-abstract-par/pkg/DESCR
Normal file
@ -0,0 +1,15 @@
|
||||
The 'Par' monad(s) offer an alternative parallel programming API
|
||||
to that provided by the parallel package.
|
||||
|
||||
A '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: a 'Par' monad supports forking and simple
|
||||
communication in terms of 'IVar's.
|
||||
|
||||
This module is an interface module only. It provides a number of
|
||||
type clasess, but not an implementation. The type classes separate
|
||||
different levels of 'Par' functionality. See the "Control.Monad.Par.Class"
|
||||
module for more details.
|
||||
|
||||
The monad-par library is one example of a concrete library providing
|
||||
this interface.
|
31
devel/hs-abstract-par/pkg/PLIST
Normal file
31
devel/hs-abstract-par/pkg/PLIST
Normal file
@ -0,0 +1,31 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/31 19:15:05 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/Control/
|
||||
lib/ghc/${DISTNAME}/Control/Monad/
|
||||
lib/ghc/${DISTNAME}/Control/Monad/Par/
|
||||
lib/ghc/${DISTNAME}/Control/Monad/Par/Class.hi
|
||||
lib/ghc/${DISTNAME}/Control/Monad/Par/Unsafe.hi
|
||||
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
|
||||
lib/ghc/${DISTNAME}/register.sh
|
||||
share/doc/hs-${DISTNAME}/
|
||||
share/doc/hs-${DISTNAME}/LICENSE
|
||||
share/doc/hs-${DISTNAME}/html/
|
||||
share/doc/hs-${DISTNAME}/html/Control-Monad-Par-Class.html
|
||||
share/doc/hs-${DISTNAME}/html/Control-Monad-Par-Unsafe.html
|
||||
share/doc/hs-${DISTNAME}/html/abstract-par.haddock
|
||||
share/doc/hs-${DISTNAME}/html/doc-index.html
|
||||
share/doc/hs-${DISTNAME}/html/frames.html
|
||||
share/doc/hs-${DISTNAME}/html/haddock-util.js
|
||||
share/doc/hs-${DISTNAME}/html/hslogo-16.png
|
||||
share/doc/hs-${DISTNAME}/html/index-frames.html
|
||||
share/doc/hs-${DISTNAME}/html/index.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_Control-Monad-Par-Class.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_Control-Monad-Par-Unsafe.html
|
||||
share/doc/hs-${DISTNAME}/html/minus.gif
|
||||
share/doc/hs-${DISTNAME}/html/ocean.css
|
||||
share/doc/hs-${DISTNAME}/html/plus.gif
|
||||
share/doc/hs-${DISTNAME}/html/synopsis.png
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
|
||||
lib/ghc/${DISTNAME}/unregister.sh
|
Loading…
Reference in New Issue
Block a user