This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How often are continuations created?


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]