Source

python emacs / yasnippet-0.6.1c / snippets / text-mode / scala-mode / for.multi

Full commit
1
2
3
4
5
6
7
8
9
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : for {x <- xs \ y <- ys} { yield }
# --
for {
  ${1:x} <- ${2:xs}
  ${3:x} <- ${4:xs}
} {
  yield $0
}