cyclone/docs/api/scheme/lazy.md
2016-09-28 17:41:53 -04:00

662 B

Lazy Library

The (scheme lazy) library exports procedures and syntax keywords for lazy evaluation.

For more information see the R7RS Scheme Specification.

#delay

(delay {expression})                                lazy library syntax

#force

(force promise)

#delay-force

(delay-force {expression})                          lazy library syntax

#make-promise

(make-promise obj)

#promise?

(promise? obj)

Returns #t if object is a promise, and #f otherwise.