aboutsummaryrefslogtreecommitdiff
path: root/test/robust_test.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test/robust_test.scm')
-rw-r--r--test/robust_test.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/robust_test.scm b/test/robust_test.scm
index ed5dbfb..9e8c98d 100644
--- a/test/robust_test.scm
+++ b/test/robust_test.scm
@@ -393,3 +393,11 @@ x
(display (queen 8))
(display "\n")
+
+(define prom (delay (and (display "world\n") (lambda () 3))))
+(define prom2 (delay (and (display "hello\n") (force prom))))
+(force prom2)
+(force prom2)
+(force prom2)
+(force prom2)
+