20 Apr
2009
20 Apr
'09
9:40 a.m.
Check that by experiment in ghci or by looking at the source:
Prelude*> product [0..]
Or search "product" at http://holumbus.fh-wedel.de/hayoo/hayoo.html
and click on one of the Source links.
2009/4/20 michael rice
I've been looking at CPS in Haskell and wondering how many multiplications the product function performs if it encounters a zero somewhere in the input list. Zero?
Does anyone know the definition of the product function?
Michael
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Eugene Kirpichov Web IR developer, market.yandex.ru