def exhausted.known
import cswap-bend-cli@0.1.0.0/policy/exhaust.bend as Exhaustimport Base
48def exhausted.known(+m: Maybe<&2, Nat>) -> Bool:
49 match m:
50 case None{}:
51 False{}
52 case Some{h}:
53 Nat.is_eq(h, 0n)
import cswap-bend-cli@0.1.0.0/policy/exhaust.bend as Exhaustimport Base
48def exhausted.known(+m: Maybe<&2, Nat>) -> Bool:
49 match m:
50 case None{}:
51 False{}
52 case Some{h}:
53 Nat.is_eq(h, 0n)