projects
/
8sync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
actors: Remove nesting of actions in define-simple-actor.
[8sync.git]
/
8sync
/
systems
/
actors.scm
diff --git
a/8sync/systems/actors.scm
b/8sync/systems/actors.scm
index 87d29ec1b036b4fabae320b840a9866e86e5010d..ce55597bf912aa001282e65cbac055c872a7b991 100644
(file)
--- a/
8sync/systems/actors.scm
+++ b/
8sync/systems/actors.scm
@@
-349,7
+349,7
@@
more compact following syntax:
(simple-dispatcher
(list (%expand-action-item action-item) ...)))))
(simple-dispatcher
(list (%expand-action-item action-item) ...)))))
-(define-syntax-rule (define-simple-actor class
(actions ...)
)
+(define-syntax-rule (define-simple-actor class
actions ...
)
(define-class class (<actor>)
(message-handler
#:init-value (make-action-dispatch actions ...)
(define-class class (<actor>)
(message-handler
#:init-value (make-action-dispatch actions ...)