summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/abstract-deque/metadata.xml')
-rw-r--r--dev-haskell/abstract-deque/metadata.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-haskell/abstract-deque/metadata.xml b/dev-haskell/abstract-deque/metadata.xml
new file mode 100644
index 000000000000..2725ffafd7c7
--- /dev/null
+++ b/dev-haskell/abstract-deque/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ 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".
+ </longdescription>
+ <use>
+ <flag name="usecas"> Enable the reference implementation to use hardware compare-and-swap.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">rrnewton/haskell-lockfree</remote-id>
+ </upstream>
+</pkgmetadata>