This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: learning scheme : difference in letrec behavior
- From: Debabrata Pani <debabrata dot pani at gmail dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: kawa at sourceware dot org
- Date: Tue, 3 Nov 2015 10:11:01 +0530
- Subject: Re: learning scheme : difference in letrec behavior
- Authentication-results: sourceware.org; auth=none
- References: <CAKJw4feinTa1_VA+6r8zVy0uMhWNYe1BNjEzGcUhvrYjXuGTtg at mail dot gmail dot com> <5638217A dot 8080703 at bothner dot com> <5638220E dot 2070608 at bothner dot com>
Hi Per,
my bad that I did not refer to the *let* documentation in kawa.
But your explanation regarding R7RS spec was important for me.
Regards,
Debabrata Pani
On Tue, Nov 3, 2015 at 8:25 AM, Per Bothner <per@bothner.com> wrote:
> On 11/02/2015 06:52 PM, Per Bothner wrote:
>
>> Kawa basically implements 'letrec' as if it were 'letrec*'.
>> I.e. it evaluates the init expressions in order, while R7RS
>> makes it unspecified. This is allowed as an implementation
>> dependency.
>
>
> This is actually covered in the Kawa manual:
>
> http://www.gnu.org/software/kawa/Local-binding-constructs.html
>
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/