[Haskell-cafe] laziness blowup exercise
Thomas Hartman
tphyahoo at gmail.com
Thu Jul 16 13:45:23 EDT 2009
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-Stream.html
?
where is Control.Monad.StreamT? couldn't find it.
2009/7/15 Bas van Dijk <v.dijk.bas at gmail.com>:
> On Wed, Jul 15, 2009 at 3:02 AM, Thomas Hartman<tphyahoo at 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)
>
More information about the Haskell-Cafe
mailing list