def first.hit
import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pickimport Base
197def first.hit(+c: Maybe<&2, Nat>, +h: Nat) -> Bool:
198 match c:
199 case None{}:
200 False{}
201 case Some{x}:
202 Nat.is_eq(x, h)
import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pickimport Base
197def first.hit(+c: Maybe<&2, Nat>, +h: Nat) -> Bool:
198 match c:
199 case None{}:
200 False{}
201 case Some{x}:
202 Nat.is_eq(x, h)