switch stop-condition to be a keyword argument
[8sync.git] / loopy.scm
index 3954fea34a853c82e49726eaf40329f2a4509ba7..99741c4727b6ef9c1d76942e4b9c90fcd5c4629c 100644 (file)
--- a/loopy.scm
+++ b/loopy.scm
 
 (define %current-agenda (make-parameter #f))
 
-(define* (start-agenda agenda #:optional stop-condition)
+(define* (start-agenda agenda #:key stop-condition)
   (let loop ((agenda agenda))
     (let ((agenda   
            ;; @@: Hm, maybe here would be a great place to handle