my-emacs-d/elpa/yasnippet-20161022.646/snippets/f90-mode/puref

13 lines
249 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# contributor: Jonas Kalderstam <jonas@kalderstam.se>
# name: pure function ... end function ...
# key: pure func
# --
pure function ${1:name} (${2:arg})
${3:real} :: $1
${4:real, intent(in)} :: $2
$0
end function $1