Implement ch10/01-the-loop-macro examples