def first.hit

cswap-bend-cli@0.1.0.0 · policy/pick.bend:197

import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pick
import 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)

Uses (4)

Used by (1)