emacs-prelude/vendor/yasnippet/snippets/scala-mode/def.arg-ret-body

7 lines
141 B
Text
Raw Normal View History

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