Support more convenient syntax for spawn-world, given implicit flattening of actions
This commit is contained in:
parent
9df191393a
commit
af06aebe68
2
core.rkt
2
core.rkt
|
@ -93,7 +93,7 @@
|
||||||
(lambda (dummy) e)
|
(lambda (dummy) e)
|
||||||
(lambda () (loop rs))))]))]))
|
(lambda () (loop rs))))]))]))
|
||||||
|
|
||||||
(define (spawn-world boot-actions)
|
(define (spawn-world . boot-actions)
|
||||||
(spawn world-handle-event
|
(spawn world-handle-event
|
||||||
(enqueue-actions (world 0 (make-queue) (hash) '() (make-queue))
|
(enqueue-actions (world 0 (make-queue) (hash) '() (make-queue))
|
||||||
-1
|
-1
|
||||||
|
|
Loading…
Reference in New Issue