document the during form
This commit is contained in:
parent
27952df0c3
commit
326f1e34c1
|
@ -103,6 +103,18 @@ termination event but before the @racket[until] actor exits.}
|
||||||
The @racket[forever] behavior is analogous to a @racket[state] form with no
|
The @racket[forever] behavior is analogous to a @racket[state] form with no
|
||||||
termination events.}
|
termination events.}
|
||||||
|
|
||||||
|
@defform[(during pat O ...)]{
|
||||||
|
Runs the behaviors @racket[O ...] for the duration of each assertion matching
|
||||||
|
@racket[pat].
|
||||||
|
|
||||||
|
Roughly equivalent to
|
||||||
|
@racket[(on (asserted pat)
|
||||||
|
(until (retracted pat)
|
||||||
|
O ...))]
|
||||||
|
where the @racket[pat] in the @racket[until] clause is specialized to the actual
|
||||||
|
value matched by @racket[pat] in the @racket[asserted] clause.
|
||||||
|
}
|
||||||
|
|
||||||
@defform[(assert maybe-pred exp maybe-level)
|
@defform[(assert maybe-pred exp maybe-level)
|
||||||
#:grammar
|
#:grammar
|
||||||
[(maybe-pred (code:line)
|
[(maybe-pred (code:line)
|
||||||
|
|
Loading…
Reference in New Issue