flip ~init e
is a signal whose boolean value flips each time e
occurs. init
provides the signal value at creation time.
- [
flip b e
]0 = not b
if [e
]0 = Some _
- [
flip b e
]t =
init if [e
]<=t = None
- [
flip b e
]t =
not
[flip b e
]t-dt if [e
]t = Some _