summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
Diffstat (limited to '2d')
-rw-r--r--2d/coroutine.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/2d/coroutine.scm b/2d/coroutine.scm
index 04c2235..ba7659e 100644
--- a/2d/coroutine.scm
+++ b/2d/coroutine.scm
@@ -74,10 +74,10 @@ keyword arguments that is run as a coroutine."
(lambda () (name ...)))))
(define (yield callback)
- "Yield continuation to a callback procedure."
+ "Yield continuation to a CALLBACK procedure."
(abort-to-prompt 'coroutine-prompt callback))
(define* (wait #:optional (delay 1))
- "Yield coroutine and schdule the continuation to be run after delay
+ "Yield coroutine and schdule the continuation to be run after DELAY
ticks."
(yield (lambda (resume) (agenda-schedule resume delay))))