Import des corrections apportées à implementation/divers.lisp dans ma branche de bidouilles.
This commit is contained in:
parent
a71ac81634
commit
5809570f57
|
@ -102,15 +102,15 @@
|
|||
|
||||
(defmacro let (bindings &rest body)
|
||||
`((lambda ,(mapcar #'car bindings)
|
||||
,body)
|
||||
,(mapcar #'cdar bindings)))
|
||||
,@body)
|
||||
,@(mapcar #'cadr bindings)))
|
||||
|
||||
(defmacro let* (bindings &rest body)
|
||||
(if (endp bindings)
|
||||
body
|
||||
`(let (,(car bindings))
|
||||
(let* ,(cdr bindings)
|
||||
,body))))
|
||||
`(progn ,@body)
|
||||
`(let (,(car bindings))
|
||||
(let* ,(cdr bindings)
|
||||
,@body))))
|
||||
|
||||
(defmacro labels (f-bindings &rest body)
|
||||
;; TODO
|
||||
|
|
Loading…
Reference in New Issue
Block a user