emacs-prelude/vendor/yasnippet/snippets/scala-mode/act.arg
2012-02-17 22:12:32 +02:00

11 lines
No EOL
168 B
Text

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