mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 22:17:34 +02:00
adding letrec*
This commit is contained in:
parent
0a9bff353f
commit
3e5c928548
1 changed files with 5 additions and 0 deletions
|
@ -819,6 +819,11 @@
|
||||||
(list (list _error "no expansion for"
|
(list (list _error "no expansion for"
|
||||||
(list (rename 'strip-syntactic-closures) _expr)))))))))))
|
(list (rename 'strip-syntactic-closures) _expr)))))))))))
|
||||||
|
|
||||||
|
(define-syntax letrec*
|
||||||
|
(syntax-rules ()
|
||||||
|
((letrec* ((var val) ...) . body)
|
||||||
|
(let () (define var val) ... . body))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; modules
|
;; modules
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue