This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: How often are continuations created?
Keisuke Nishida <kxn30@po.cwru.edu> writes:
> Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
>
> > > guile> (do ((v (make-vector 5 #f))
> > > (i 0 (1+ i)))
> > > ((= i 5))
> > > (vector-set! v i (magic-computation i))
> > > (display i))
> > > 01234guile> (some-cont #f)
> > > 01234guile>
> > >
> > > Which one is the correct behavior?
> >
> > Miroslav is right.
> > Guile is wrong.
>
> Really?
No, just kidding.
Miroslav and Mikael are wrong.
Guile is right.