[gambit-list] Promises & lazy thunks

Marc Feeley feeley at iro.umontreal.ca
Tue Apr 30 12:11:24 EDT 2013


On 2013-04-30, at 11:58 AM, Hendrik Boom <hendrik at topoi.pooq.com> wrote:

> On Tue, Apr 30, 2013 at 10:46:48AM -0400, Marc Feeley wrote:
>> 
>> 
>> I agree with the consistency argument.  So now fixnum? and flonum? auto force their argument like all other type predicates (except ##promise?).  Please let me know if you find other cases.
> 
> Presumably that's only when the --autoforcing option has been set?

Correct.  I simply added a call to the "auto-forcing" macro in those functions, which is a noop when --enable-auto-forcing is not used at configure time.

Marc




More information about the Gambit-list mailing list