Module
Data.CatQueue
- Package
- purescript-catenable-lists
- Repository
- purescript/purescript-catenable-lists
This module defines a strict queue.
The queue implementation is based on a pair of lists where all
operations require O(1)
amortized time.
However, any single uncons
operation may run in O(n)
time.
See Simple and Efficient Purely Functional Queues and Dequeues (Okasaki 1995)
- Modules
- Data.
CatList - Data.
CatQueue