1fce1224c0
packaged for wip by pho. Difference lists are a list-like type supporting O(1) append. This is particularly useful for efficient logging and pretty printing (e.g. with the Writer monad), where list append quickly becomes too expensive.
3 lines
211 B
Text
3 lines
211 B
Text
Difference lists are a list-like type supporting O(1) append. This is
|
|
particularly useful for efficient logging and pretty printing (e.g. with
|
|
the Writer monad), where list append quickly becomes too expensive.
|