On Wed, Jul 15, 2009 at 3:02 AM, Thomas Hartman<[email protected]> wrote: > Please suggest more of these types of exercises if you have them and > maybe we can collect the folk wisdom into a wiki page and/or exercise > page for beginners.
My 'stream' library[1] also has some examples. Look at the following functions in 'Data.Stream': * mapAccum' * scan' * iterate' * unfold' There are similar examples in 'Control.Monad.StreamT'. [1] http://code.haskell.org/~basvandijk/code/stream/ (Not on Hackage) _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
