Alex Shinn scripsit:
> > Arguably, the "first time" the promise is forced is at line 9 in the
> > example, and the "second time" is at line 6. However, at that time
> > line 6 gets executed, no value has been computed *yet*, so presumably
> > this example follows the spirit of the law.
Prose trumps examples, though, and the prose really is ambiguous.
> The example in question has been in the report since R4RS, so we can't
> change this without breaking compatibility, and can't do that without
> good reason.
It's not clear whether the value of a forced promise is determined at
the beginning of the force or at its end, which makes it unclear whether
the first time is really at line 6 after all. That's quite independent
of threading considerations.
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports