HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Package0.3Data

abstract-deque

Abstract, parameterized interface to mutable Deques.

Modules

4 modules

Description

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.

Depends on

5 packages

Used by in this set · 1