Source

.emacs.d / vendor / yasnippet / snippets / scala-mode / for.if

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