small cleanup
This commit is contained in:
parent
c40b773282
commit
fa8822e40d
|
@ -122,14 +122,11 @@
|
||||||
[states (hash)])
|
[states (hash)])
|
||||||
(match work-list
|
(match work-list
|
||||||
[(cons current more)
|
[(cons current more)
|
||||||
(define all-txns
|
|
||||||
(for/list ([nm (in-set current)])
|
|
||||||
(hash-ref roles# nm)))
|
|
||||||
(define agg-txn
|
(define agg-txn
|
||||||
(for/fold ([agg (hash)])
|
(for/fold ([agg (hash)])
|
||||||
([txns (in-list all-txns)])
|
([nm (in-set current)])
|
||||||
(hash-union agg txns
|
(define txns (hash-ref roles# nm))
|
||||||
#:combine combine-effect-sets)))
|
(hash-union agg txns #:combine combine-effect-sets)))
|
||||||
(define transitions
|
(define transitions
|
||||||
(for/hash ([(D effs) (in-hash agg-txn)]
|
(for/hash ([(D effs) (in-hash agg-txn)]
|
||||||
#:when (external-evt? D))
|
#:when (external-evt? D))
|
||||||
|
|
Loading…
Reference in New Issue