emacs-prelude/vendor/yasnippet/snippets/scala-mode/for.multi

10 lines
166 B
Text
Raw Normal View History

2012-02-17 22:12:32 +02:00
# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: for {x <- xs \ y <- ys} { yield }
# key: for
# --
for {
${1:x} <- ${2:xs}
${3:x} <- ${4:xs}
} {
yield $0
}