This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: How often are continuations created?
- To: Radey Shouman <Radey_Shouman at splashtech dot com>
- Subject: Re: How often are continuations created?
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 13 Aug 2000 04:53:55 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <m13NmsE-001mHjC@docupress.com>
- Reply-To: djurfeldt at nada dot kth dot se
Radey Shouman <Radey_Shouman@splashtech.com> writes:
> Guile's behavior is mandated by R5RS, see the section "Iteration"
> under "Derived Expression Types". Each DO iteration must create new
> bindings, not mutate existing bindings.
>
> See also the R5RS DEFINE-SYNTAX exemplary definition of DO in the
> "Formal Syntax and Semantics" section -- there DO expands to a LETREC
> binding a function which is tail-called for each iteration.
Sorry, and thank.
I just assumed that bindings should be mutated instead of reading the
document. Shame on me.