On Sat, Aug 21, 2010 at 15:35, Paulo Tanimoto <ptanim...@gmail.com> wrote:
> Apologies if I'm asking you to repeat yourself, but I couldn't find
> the explanation.  What was the reason why you went with IterateeM
> instead of IterateeMCPS?  Simplicity?

Iteratees are difficult enough to understand already -- requiring
prospective users to learn and understand CPS would just be another
roadblock. The CPS implementation is also slower -- I performed some
basic benchmarking of IterateeM.hs and IterateeMCPS.hs, and CPS is
only faster without optimizations. At -O, they are equal, and at -O2,
IterateeM is faster.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to