Alex Rivera | Logout

Introduction or simple examples for iteratee?

Asked 2009-08-23T22:14:57.707
26

I find Oleg's docs on Iteratee somewhat difficult to get into. Especially since some of the functions in his posts to Haskell-Cafe aren't in the iteratee library (like enum_file).

Is there a good introduction to iteratee somewhere, something that goes through basics like opening a file/socket, reading and processing the data.

Edit
Report

1 Answer

3

For the enumerator package (which includes an iteratee) there is an example of how to USE the implementation, instead of showing how you could reimplement the package. It shows an alternative implementation of the unix find command, as explained in the Real World Haskell book (section 9).

http://www.mew.org/~kazu/proj/enumerator/

You could probably also us it as a starting point for using other implementations.

answered 2011-04-11T12:15:31.743

Your Answer