def look.at

ezx@1.11.0.0 · src/lock/plan.bend:50

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W

50# this verdict when it is the hash asked for, otherwise the rest's
51def look.at(hit: Bool, verdict: W.Verdict, rest: Look) -> Look:
52  match hit:
53    case True{}:
54      Found{verdict}
55    case False{}:
56      rest

Uses (3)

Used by (1)