emacs-prelude/vendor/yasnippet/snippets/scala-mode/act.arg

11 lines
168 B
Text
Raw Normal View History

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