def er.step
import cswap-bend-cli@0.1.0.0/policy/exhaust.bend as Exhaustimport Base
155def er.step(+e: Er, +b: Br, +now: Nat) -> Er:
156 match b:
157 case NotBlocked{}:
158 e
159 case BlockedNoTs{}:
160 ErPoison{}
161 case BlockedAt{t}:
162 er.at(Nat.is_le(t, now), e, t)