• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Data/H09-Sep-2001-366189

tests/H09-Sep-2001-195127

ChangeLog.mdH A D09-Sep-20014.8 KiB167107

LICENSEH A D09-Sep-20011.5 KiB3225

README.mdH A D09-Sep-20012.5 KiB6138

Setup.lhsH A D09-Sep-200175 32

dlist.cabalH A D09-Sep-20012 KiB5652

README.md

1# Difference Lists in Haskell
2
3[![Hackage](https://img.shields.io/hackage/v/dlist.svg?maxAge=3600)](https://hackage.haskell.org/package/dlist "dlist on Hackage")
4[![Hackage dependencies](https://img.shields.io/hackage-deps/v/dlist.svg?maxAge=3600)](http://packdeps.haskellers.com/feed?needle=dlist "dlist updated Hackage dependencies")
5[![Travis CI](https://img.shields.io/travis/spl/dlist.svg?maxAge=3600)](https://travis-ci.org/spl/dlist "dlist build history on Travis CI")
6
7## Summary
8
9The Haskell `dlist` package defines a list-like type supporting O(1) append and snoc operations.
10
11See [ChangeLog.md](./ChangeLog.md) for recent changes.
12
13## References
14
15### Research
16
171. A novel representation of lists and its application to the function
18   “reverse.” John Hughes. Information Processing Letters. Volume 22, Issue 3.
19   1986-03. Pages 141-144.
20  [[PDF](https://www.cs.tufts.edu/~nr/cs257/archive/john-hughes/lists.pdf)]
21
22   This is the original source for a representation of lists as first-class functions.
23
24### Basic Introduction
25
261. [Difference list](https://en.wikipedia.org/wiki/Difference_list). Wikipedia.
27
282. [Difference list](https://wiki.haskell.org/Difference_list). Haskell.org Wiki.
29
303. [What is a DList?](https://stackoverflow.com/questions/3352418/what-is-a-dlist)
31   Stack Overflow.
32
33### Blogs and Discussion
34
351. [Using Difference Lists](https://logicaltypes.blogspot.com/2008/08/using-difference-lists.html).
36   Douglas M. Auclair. 2008-08-13.
37
382. [A Sort of Difference](https://web.archive.org/web/20080918101635/comonad.com/reader/2008/a-sort-of-difference/).
39   Edward Kmett. 2008-09-18.
40
413. [Reference for technique wanted](https://www.mail-archive.com/haskell-cafe@haskell.org/msg83699.html).
42   Richard O'Keefe, et al. 2010-10-31.
43
444. [24 Days of Hackage: dlist](https://ocharles.org.uk/blog/posts/2012-12-14-24-days-of-hackage-dlist.html).
45   Oliver Charles. 2012-12-14.
46
475. [Constructing a list in a Monad](https://www.joachim-breitner.de/blog/620-Constructing_a_list_in_a_Monad).
48   Joachim Breitner. 2013-11-13.
49
506. [Demystifying DList](http://h2.jaguarpaw.co.uk/posts/demystifying-dlist/).
51   ([On Reddit](https://www.reddit.com/r/haskell/comments/1w5duf/demystifying_dlist/)).
52   Tom Ellis. 2014-01-24.
53
547. [keepEquals with Difference Lists](https://logicaltypes.blogspot.com/2014/06/keepequals-with-difference-lists.html).
55   Douglas M. Auclair. 2014-06-21.
56
57### Books
58
591. [Chapter 13. Data Structures](http://book.realworldhaskell.org/read/data-structures.html).
60   Real World Haskell. 2008-12-05.
61