implement new-loop syntax #4
add syntax sugar for loop-patterns #4