[Haskell-cafe] why does a foldr not have a space leak effect?
qiqi789 at gmail.com
Tue Jul 24 04:52:39 CEST 2012
Foldl has the space leak effect, and that's why foldl' has been
On Monday, July 23, 2012 9:44:59 PM UTC-5, Ivan Lazar Miljenovic wrote:
> (Trying again using the real mailing list address rather than google
> On 24 July 2012 12:37, Qi Qi <qiqi789 at gmail.com> wrote:
> > Hi,
> > I wonder why a foldr does not have a space leak effect?
> > Any hints? Thanks.
> Why should it?
> Does it not depend on the function you're folding, the type of data
> you're folding over, how you use it, etc.?
> > Qi
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe