A difference list library for Gleam!
A difference list (diff list or dlist for short) is a representation of a list
that allows for snoc
and append
operations in constant O(1) time.
The name of this package is an homage to the french philosopher Jaques Derrida and his concept of "différance" (also, the name dlist was already taken)
This library can be added to your Gleam project by running:
$ gleam add differance
Further documentation can be found at https://hexdocs.pm/differance.