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:
parent
1a2ae5499e
commit
df112d34b6
1 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Typed function
|
||||||
|
# key: tfn
|
||||||
|
# --
|
||||||
|
(type $1 ($3) $4)
|
||||||
|
(defun $1 ($2)
|
||||||
|
"$5"
|
||||||
|
$6)
|
Loading…
Reference in a new issue