HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Moduleabstract-deque-0.3Haskell98

Data.Concurrent.Deque.Reference

A strawman implementation of concurrent Dequeues. This implementation is so simple that it also makes a good reference implementation for debugging.

The queue representation is simply an IORef containing a Data.Sequence.

Also see Data.Concurrent.Deque.Reference.DequeInstance. By convention a module of this name is also provided.

Synopsis
datadata SimpleDeque elt

Stores a size bound (if any) as well as a mutable Seq.

Constructors

Instances5BoundedL, BoundedR, DequeClass, PopL, PushR