mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
7 lines
184 B
Scheme
7 lines
184 B
Scheme
|
|
(define-library (scheme lazy)
|
|
(import (chibi))
|
|
(export delay force delay-force make-promise promise?)
|
|
(begin
|
|
(define (make-promise x)
|
|
(if (promise? x) x (delay x)))))
|