On 7/15/07, Donald Bruce Stewart <[EMAIL PROTECTED]> wrote:

or maybe 'pidigits', a lazy pi generator,


http://shootout.alioth.debian.org/gp4/benchmark.php?test=pidigits&lang=ghc&id=0


This is I/O bound, which isnt interesting, unless you really want to
benchmark I/O to console?

We can improve it by instead of printing the digits to I/O, returning the
number of occurrences of a specific digit, let's say 3.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to