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.Ziganshin at gmail.com