Support CL snippet for a typed function

This depends on the `type` macro that's defined in my mono-repo. Perhaps another
reason why my dotfiles needs to be merged into the mono-repo.
This commit is contained in:
William Carroll 2020-01-23 13:49:31 +00:00
parent 1a2ae5499e
commit df112d34b6

View file

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: Typed function
# key: tfn
# --
(type $1 ($3) $4)
(defun $1 ($2)
"$5"
$6)