examples for iteration and coiteration on higher-order datatypes. Haskell code accompanying this article, available on the author's homepage (2003)

by Haskell