make-promise
-- r7rs
Definition constructor
;
make-promise
(from vonuvoli
);Procedure variants:
scheme:lazy
-- (scheme lazy)
;scheme
-- (scheme)
;(make-promise obj)
The
make-promise
procedure returns a promise which, when forced, will returnobj
. It is similar todelay
, but does not delay its argument: it is a procedure rather than syntax. Ifobj
is already a promise, it is returned.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.