[Haskell-cafe] Why does not zipWith' exist

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Sat Feb 2 02:22:40 CET 2013


Hi,

> zipWith' would [I haven't tested, but I'm rather confident] make a difference if 
> you benchmarked
> 
>     bench "name" (whnf (fibs !!) 100000)
> 
> etc.

Yes. fibs is slow if used with "!!".

--Kazu



More information about the Haskell-Cafe mailing list