Correction d'une recursion infini dans le let*

This commit is contained in:
Bertrand BRUN 2010-11-01 19:09:08 +01:00
parent aecdddc985
commit 213c0fcfc0

View File

@ -106,9 +106,11 @@
,(mapcar #'cdar bindings)))
(defmacro let* (bindings &rest body)
`(let (,(car bindings))
(let* ,(cdr bindings)
,body)))
(if (endp bindings)
body
`(let (,(car bindings))
(let* ,(cdr bindings)
,body))))
(defmacro labels (f-bindings &rest body)
;; TODO