DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(r5rs.info) Delayed evaluation

Info Catalog (r5rs.info) Iteration (r5rs.info) Derived expression types (r5rs.info) Quasiquotation
 
 4.2.5 Delayed evaluation
 ------------------------
 
  -- library syntax: delay <expression>
      The `delay' construct is used together with the procedure `force'
      to implement "lazy evaluation" or "call by need".  (delay
      <expression>) returns an object called a "promise" which at some
      point in the future may be asked (by the `force' procedure)  to
      evaluate <expression>, and deliver the resulting value.  The
      effect of <expression> returning multiple values is unspecified.
 
      See the description of `force' (section  Control features)
      for a more complete description of `delay'.
 
 
Info Catalog (r5rs.info) Iteration (r5rs.info) Derived expression types (r5rs.info) Quasiquotation
automatically generated byinfo2html