Support more convenient syntax for spawn-world, given implicit flattening of actions

This commit is contained in:
Tony Garnock-Jones 2013-10-28 10:16:03 +00:00
parent 9df191393a
commit af06aebe68
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@
(lambda (dummy) e)
(lambda () (loop rs))))]))]))
(define (spawn-world boot-actions)
(define (spawn-world . boot-actions)
(spawn world-handle-event
(enqueue-actions (world 0 (make-queue) (hash) '() (make-queue))
-1