summaryrefslogtreecommitdiff
path: root/2d/time.scm
diff options
context:
space:
mode:
Diffstat (limited to '2d/time.scm')
-rw-r--r--2d/time.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/2d/time.scm b/2d/time.scm
index cacfae4..6a6607e 100644
--- a/2d/time.scm
+++ b/2d/time.scm
@@ -31,7 +31,7 @@
(define (time-interval ticks signal)
"Create a new signal that emits the value of SIGNAL every TICKS
agenda updates."
- (let ((ticker (make-signal #:init (signal-ref signal))))
+ (let ((ticker (make-signal (signal-ref signal))))
(agenda-schedule-interval
(lambda ()
(signal-set! ticker (signal-ref signal))) ticks)
@@ -43,7 +43,7 @@ agenda updates."
(define (time-delay ticks signal)
(make-signal
- #:init (signal-ref signal)
+ (signal-ref signal)
#:filter (lambda (value old from)
(wait ticks)
#t)