
On Fri, 24 Jun 2011 15:11:59 +0200, David Place
Hi,
I've been trying to learn Iteratee IO. I've made some progress by studying John Millikin's examples in the source of the enumerator package.
I was surprised how confusing I found the tutorials that are available. I think that it is primarily because of the lack of concrete examples. It would be great if we could accumulate a collection of small concrete programs like John's wc.hs which show various uses of Data.Enumerator.
Here's a little program I wrote to find the longest run of same characters in a file.
Does anyone else have little examples like this that use Iteratee IO?
Try finding packages that depend on the enumerator/iteratee packages at http://bifunctor.homelinux.net/~roel/hackage/packages/archive/pkg-list.html (which is down at the moment). Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --