emacs-prelude/vendor/yasnippet/snippets/scala-mode/for.if
2012-02-17 22:12:32 +02:00

7 lines
No EOL
147 B
Text

# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: for (x <- xs if guard) { ... }
# key: for
# --
for (${1:x} <- ${2:xs} if ${3:guard}) {
$0
}