[Haskell-cafe] Change value of a variable

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Jun 7 15:21:50 EDT 2009

Hello ptrash,

Sunday, June 7, 2009, 11:03:55 PM, you wrote:

> Hi, thanks for the answers.

> I want to make something like a counter. I have written a recursive method
> which for example runs x times and counts how many times it runs, and also
> count some other thinks. Add the end I want a statistic about certain thinks
> returned by the method.

then the best way is to add this counter as one more param of
recursive procedure

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list