Lenient matching of conversation patterns etc.
This commit is contained in:
parent
bc2bb30fb3
commit
4dc551632f
|
@ -122,7 +122,9 @@
|
|||
state
|
||||
(match message
|
||||
[message-pattern clause-body] ...
|
||||
[_ '()]))))])))])))
|
||||
[_ '()]))))]
|
||||
[_
|
||||
(lambda: ([state : State]) ((inst core:transition State) state '()))])))])))
|
||||
|
||||
(define-syntax spawn:
|
||||
(lambda (stx)
|
||||
|
|
|
@ -108,7 +108,9 @@
|
|||
(core:transition state
|
||||
(match message
|
||||
[message-pattern clause-body] ...
|
||||
[_ '()]))))])))])))
|
||||
[_ '()]))))]
|
||||
[_
|
||||
(lambda (state) (core:transition state '()))])))])))
|
||||
|
||||
(define-syntax spawn
|
||||
(lambda (stx)
|
||||
|
|
Loading…
Reference in New Issue