summaryrefslogblamecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/for.multi
blob: c512067e2e92933180facff23849a542d4fe8635 (plain) (tree)
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
}