Recipe - Doing things N times

Hi,

I wrote a recipe that might be useful for people coming from an imperative background.  If this is helpful, I can write some more similar recipes.

Good luck with the book!