* demos/actors/robotscanner.scm (main):
* demos/actors/simplest-possible.scm (run-demo): Update to take
arbitrary arguments. This allows being more easily run by the
command line.
(send-message actor overseer 'transmission
#:message "Mission accomplished.")))
-(define (main)
+(define (main . args)
(define hive (make-hive))
(define overseer (hive-create-actor hive <overseer>))
(define initial-messages
(define hive (make-hive))
(define our-emo (hive-create-actor hive <emo>))
(define our-proog (hive-create-actor hive <proog>))
-(define (run-demo)
+(define (run-demo . args)
(ez-run-hive hive
(list (hive-bootstrap-message hive our-emo 'greet-proog
#:target our-proog))))