league/difference-list - version: 2.0.0

for more information visit the package's GitHub page

Package contains the following modules:

difference-list

Build Status

An Elm-language representation of lists with an efficient append operation.

This is particularly useful for efficient logging and pretty printing, where repeatedly appending lists quickly becomes too expensive. Internally, DList is a function that prepends elements to its parameter. Thus the append operation is just function composition. Ultimately, a DList is converted to a regular List by applying the function to the empty list.

Some limitations of the DList representation are:

See also: http://package.elm-lang.org/packages/league/difference-list/