summaryrefslogtreecommitdiff
path: root/src/tg/method-macros.lisp
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-10-23 08:25:36 +0300
committerGravatar Uko Kokņevičs2025-10-23 08:25:36 +0300
commiteb15884cf9eeeacde93e174db180181498fb2a19 (patch)
treef1f82bea3a2a219d6340fc22416bfad03b3cc652 /src/tg/method-macros.lisp
parentFix lint issues (diff)
downloadukkoclot-eb15884cf9eeeacde93e174db180181498fb2a19.tar.gz
ukkoclot-eb15884cf9eeeacde93e174db180181498fb2a19.tar.xz
ukkoclot-eb15884cf9eeeacde93e174db180181498fb2a19.zip
Use alexandria's make-keyword & symbolicate
Diffstat (limited to 'src/tg/method-macros.lisp')
-rw-r--r--src/tg/method-macros.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tg/method-macros.lisp b/src/tg/method-macros.lisp
index 56445e3..0d33ffb 100644
--- a/src/tg/method-macros.lisp
+++ b/src/tg/method-macros.lisp
@@ -3,7 +3,7 @@
3(defpackage :ukkoclot/src/tg/method-macros 3(defpackage :ukkoclot/src/tg/method-macros
4 (:documentation "Macros for easy defining TG methods.") 4 (:documentation "Macros for easy defining TG methods.")
5 (:use :c2cl :iterate) 5 (:use :c2cl :iterate)
6 (:import-from :alexandria :with-gensyms) 6 (:import-from :alexandria :make-keyword :with-gensyms)
7 (:import-from :com.dieggsy.f-string :enable-f-strings) 7 (:import-from :com.dieggsy.f-string :enable-f-strings)
8 (:import-from :serapeum :take) 8 (:import-from :serapeum :take)
9 (:import-from :state) 9 (:import-from :state)
@@ -46,7 +46,7 @@
46 `(setf ,args (acons ',(param-name param) ,(param-name param) ,args))) 46 `(setf ,args (acons ',(param-name param) ,(param-name param) ,args)))
47 47
48 (defun emit-arg-type (param) 48 (defun emit-arg-type (param)
49 `(,(intern (symbol-name (param-name param)) :keyword) 49 `(,(make-keyword (param-name param))
50 ,(param-type param))) 50 ,(param-type param)))
51 51
52 (defun emit-defun-arg (param) 52 (defun emit-defun-arg (param)