summaryrefslogblamecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/act.arg
blob: fc6df9e1333c06100710755a0ef95cc33e4f1f70 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                             
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : def act(arg: T) = { ..}
# --
def act(${1:arg}: ${2:type}) = {
  loop {
    react {
      $0
    }
  }
}