define let*-values as an alias to let-values
This commit is contained in:
parent
11c0d78957
commit
38a3a0936d
|
@ -292,9 +292,15 @@
|
||||||
(,(r 'let-values) (,@(cdr formals))
|
(,(r 'let-values) (,@(cdr formals))
|
||||||
,@(cddr form)))))))))
|
,@(cddr form)))))))))
|
||||||
|
|
||||||
|
(define-syntax let*-values
|
||||||
|
(er-macro-transformer
|
||||||
|
(lambda (form r c)
|
||||||
|
`(,(r 'let-values) ,@(cdr form)))))
|
||||||
|
|
||||||
(export values
|
(export values
|
||||||
call-with-values
|
call-with-values
|
||||||
let-values))
|
let-values
|
||||||
|
let*-values))
|
||||||
|
|
||||||
(import (picrin macro)
|
(import (picrin macro)
|
||||||
(picrin core-syntax)
|
(picrin core-syntax)
|
||||||
|
@ -309,7 +315,8 @@
|
||||||
|
|
||||||
(export values
|
(export values
|
||||||
call-with-values
|
call-with-values
|
||||||
let-values)
|
let-values
|
||||||
|
let*-values)
|
||||||
|
|
||||||
(define (any pred list)
|
(define (any pred list)
|
||||||
(if (null? list)
|
(if (null? list)
|
||||||
|
|
Loading…
Reference in New Issue