1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 14:21:10 +02:00

(and-let*): Give #t for an empty body, per srfi-2

spec, previously came out as an empty (begin).
This commit is contained in:
Kevin Ryde 2004-08-25 00:46:59 +00:00
parent 479357a63d
commit 3fe213f8f1

View file

@ -25,7 +25,9 @@
(define (expand vars body)
(cond
((null? vars)
`(begin ,@body))
(if (null? body)
#t
`(begin ,@body)))
((pair? vars)
(let ((exp (car vars)))
(cond