Next: , Previous: Fast Integer Calculations, Up: The Language Compiled


3.5 Force and Delay

The nonessential procedure force and syntax delay are implemented exactly as suggested in the report 4. This implementation deviates internally from the implementation of force and delay in the SCM interpeter, thus it is incorrect to pass a promise created by delay in the compiled code to the force used by interpreter, and vice-versa for the promises created by the interpreter.