Skip to content

Commit 8c4de06

Browse files
committed
Possible solution for a more stable exec-func
1 parent 3a7a94a commit 8c4de06

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

main.lisp

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
((eql temp-tree '_4) (elt args 3))
1919
(t (eval temp-tree)))))
2020

21+
(defun exec-func%(func-tree args)
22+
(eval
23+
`(let ((_1 ,(elt args 0))
24+
(_2 ,(elt args 1))
25+
(_3 ,(elt args 2))
26+
(_4 ,(elt args 3)))
27+
,func-tree)))
28+
2129
(defun range(start end &optional (inc 1))
2230
(cond
2331
((< end start) nil)

0 commit comments

Comments
 (0)