code for article about iteratee for fprog.ru