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

7 lines
No EOL
141 B
Text

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