diff options
author | pgj <pgj@FreeBSD.org> | 2012-06-04 02:55:53 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2012-06-04 02:55:53 +0800 |
commit | a1b5d323b9c37ce88183e3e0b77c56f2b992cfc7 (patch) | |
tree | 539afc8eceb575c8be3fc8c77c3abc26d4ad3ddb /devel | |
parent | 2103b6f92937b25a12e887110ff5e82f8ec5f590 (diff) | |
download | freebsd-ports-gnome-a1b5d323b9c37ce88183e3e0b77c56f2b992cfc7.tar.gz freebsd-ports-gnome-a1b5d323b9c37ce88183e3e0b77c56f2b992cfc7.tar.zst freebsd-ports-gnome-a1b5d323b9c37ce88183e3e0b77c56f2b992cfc7.zip |
An abstract interface to highly-parameterizable queues/deques. Background:
There exists a feature space for queues that extends between:
* simple, single-ended, non-concurrent, bounded queues
* double-ended, threadsafe, growable queues
... with important points inbetween (such as the queues used for
work-stealing). This package includes an interface for Deques that
allows the programmer to use a single API for all of the above, while
using the type-system to select an efficient implementation given the
requirements (using type families). This package also includes a simple
reference implementation based on 'IORef' and "Data.Sequence".
WWW: http://hackage.haskell.org/package/abstract-deque
Obtained from: FreeBSD Haskell
Diffstat (limited to 'devel')
-rw-r--r-- | devel/hs-abstract-deque/Makefile | 22 | ||||
-rw-r--r-- | devel/hs-abstract-deque/distinfo | 2 | ||||
-rw-r--r-- | devel/hs-abstract-deque/pkg-descr | 14 |
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/hs-abstract-deque/Makefile b/devel/hs-abstract-deque/Makefile new file mode 100644 index 000000000000..0068535bca7a --- /dev/null +++ b/devel/hs-abstract-deque/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: hs-abstract-deque +# Date created: May 9, 2012 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= abstract-deque +PORTVERSION= 0.1.5 +CATEGORIES= devel haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Abstract, parameterized interface to mutable Deques + +LICENSE= BSD + +CABAL_SETUP= Setup.hs + +USE_CABAL= HUnit IORefCAS>=0.2 + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include <bsd.port.mk> diff --git a/devel/hs-abstract-deque/distinfo b/devel/hs-abstract-deque/distinfo new file mode 100644 index 000000000000..2d5ae1ef0f46 --- /dev/null +++ b/devel/hs-abstract-deque/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/abstract-deque-0.1.5.tar.gz) = 7858975cb9598359746984cfd4c95b8aa8c823c2de0390f3e9569c3af04ce1fe +SIZE (cabal/abstract-deque-0.1.5.tar.gz) = 7676 diff --git a/devel/hs-abstract-deque/pkg-descr b/devel/hs-abstract-deque/pkg-descr new file mode 100644 index 000000000000..68cb892d6c65 --- /dev/null +++ b/devel/hs-abstract-deque/pkg-descr @@ -0,0 +1,14 @@ +An abstract interface to highly-parameterizable queues/deques. Background: +There exists a feature space for queues that extends between: + + * simple, single-ended, non-concurrent, bounded queues + * double-ended, threadsafe, growable queues + +... with important points inbetween (such as the queues used for +work-stealing). This package includes an interface for Deques that +allows the programmer to use a single API for all of the above, while +using the type-system to select an efficient implementation given the +requirements (using type families). This package also includes a simple +reference implementation based on 'IORef' and "Data.Sequence". + +WWW: http://hackage.haskell.org/package/abstract-deque |