Add global eval function
This commit is contained in:
parent
62f351ec62
commit
0290855403
|
@ -64,3 +64,7 @@
|
||||||
(cond
|
(cond
|
||||||
((equal 0 n) (first listA))
|
((equal 0 n) (first listA))
|
||||||
(t (nth (- n 1) (rest listA)))))
|
(t (nth (- n 1) (rest listA)))))
|
||||||
|
|
||||||
|
(eval
|
||||||
|
(let ((expr (gensym)))
|
||||||
|
`(defun global-eval (,expr) (eval ,expr))))
|
||||||
|
|
Loading…
Reference in New Issue