Added a small macro for easier variable declaration

This commit is contained in:
Sanel Zukan 2008-11-05 14:43:06 +00:00
parent 19c9721a78
commit 0e76d586ca

View File

@ -22,6 +22,9 @@
`(if (not ,(car body)) `(if (not ,(car body))
,@(cdr body))) ,@(cdr body)))
(define-macro (var v val)
`(define ,v ,val))
;; ;;
;; Allow defining functions like: ;; Allow defining functions like:
;; (def name (param1 param2) ;; (def name (param1 param2)