apfelmus - Monoids and Finger Trees
In this article, we explain how monoids enable one and the same data structure, the finger tree, to implement virtually any other data structure; they arise by different choices of monoids. The technique is discussed using the examples of a list with random access and a priority queue.
apfelmus.nfshost.com