Update 'for' snippets and add ranged version