Apocrypha

abstract-deque

Abstract, parameterized interface to mutable Deques

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".

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 0.3 1 14 h details ›
haskell GitHub ↗ 0.3-r1 1 2 d details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscv Committed
0.3-r1 haskell amd64 testing arm64 testing x86 testing ppc64 testing riscv testing 5 mo view · download · history ↗
0.3 gentoo amd64 testing arm64 testing x86 testing ppc64 testing riscv testing view · download · history ↗

Use flags of 0.3-r1

  • usecas Enable the reference implementation to use hardware compare-and-swap.