update syntax sugar of loop-patterns #4