Community
Modules 3

Data.DList.Unsafe

stable

This module exports the DList constructor, UnsafeDList, and the record label, unsafeApplyDList, both of which can be used to create unsafe DList values that break the invariant preserved by the names exported from DList.

newtype DList a

A difference list is an abstraction representing a list that supports \mathcal{O}(1) append and snoc operations, making it useful for replacing frequent applications of ++ such as logging and pretty printing (esp. if those uses of ++ are left-nested).

Maintainer
sean.leather@gmail.com
Copyright
© 2006-2009 Don Stewart, 2013-2020 Sean Leather
License
BSD-3-Clause
Build record and source files

Community contribution. The service has not verified this documentation. The generator reported 3 diagnostics.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-858b1951-web-1

Metadata snapshot: 5c399ad10bb66f19688f6a371c5eed4c6542a2a6e4873a65871c1260a56b6173

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.