Hello Roberto, Saturday, August 22, 2009, 9:19:26 PM, you wrote:
> I want to calculate the number of digits of a positive integer. I was fastest way digits = iterate (`div` 10) >>> takeWhile (>0) >>> length -- Best regards, Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe