#:use-module (ice-9 receive)
#:use-module (ice-9 q)
#:export (run-demo
- inject-special!
+ do-inject-special!
make-special-injector
;; Debug stuff, might go away
#:post-run-hook post-run-hook)))
-(define (inject-special! queue hive gm-id game-spec special-symbol)
+(define (do-inject-special! queue hive gm-id game-spec special-symbol)
(define gameobj-spec
(or (find
(lambda (entry) (eq? (car entry) special-symbol))
(lambda (agenda)
(queue-injected-tasks-on-agenda! agenda inject-queue))
(lambda (game-spec special-symbol)
- (inject-special! inject-queue hive gm-id
- game-spec special-symbol))))
+ (do-inject-special! inject-queue hive gm-id
+ game-spec special-symbol))))