def asked

ezx@1.11.0.0 · src/pkg/pkg.bend:828

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

828# a file the walk may need stops it only when it was not given, as a
829# question: one that is there or not there lets the walk go on
830def asked(got: Look, +at: String, rest: Unit -> Stop) -> Stop:
831  match got:
832    case Here{_text}:
833      rest(Unit{})
834    case Absent{}:
835      rest(Unit{})
836    case Unasked{}:
837      Asking{at}

Uses (4)

Used by (2)