the strict functions seem very nice, will they eventually make their way into http://hackage.haskell.org/packages/archive/Stream/0.3.2/doc/html/Data-Strea... ? where is Control.Monad.StreamT? couldn't find it. 2009/7/15 Bas van Dijk <v.dijk.bas@gmail.com>:
On Wed, Jul 15, 2009 at 3:02 AM, Thomas Hartman<tphyahoo@gmail.com> 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)