/dequeue

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dequeue

Catenable Dequeue's. All atomic operations (besides fromList, which is O(n)) are guaranteed amortized O(1), even when used persistently. This includes cons, snoc, uncons, unsnoc, (<>), reverse, and length.