[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1078: letrec* can be done as Chicken letrec
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1078: letrec* can be done as Chicken letrec |
Date: |
Sun, 01 Dec 2013 18:40:59 -0000 |
#1078: letrec* can be done as Chicken letrec
------------------------+---------------------------------------------------
Reporter: johnwcowan | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: unknown | Version: 4.8.x
Keywords: |
------------------------+---------------------------------------------------
Discussion on scheme-reports has clarified that implementing `letrec`
sequentially (i.e. as `letrec*`), which is what Chicken does, is allowed
by R7RS. Therefore, for R7RS compatibility, all that is needed is to
expose `letrec*` as equivalent to `letrec`:
{{{
(define-syntax letrec*
(syntax-rules ()
((letrec* bindings . body) (letrec bindings . body))))
}}}
--
Ticket URL: <http://bugs.call-cc.org/ticket/1078>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1078: letrec* can be done as Chicken letrec,
Chicken Trac <=