Correction d'une recursion infini dans le let*
This commit is contained in:
parent
aecdddc985
commit
213c0fcfc0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user