def foreign.asked

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

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

839# a foreign body inside the checkout stops the walk only when it, or the
840# LICENSE beside it once it is there, was not given
841def foreign.asked(got: Look, +tree: Tree, +at: String, rest: Unit -> Stop) -> Stop:
842  match got:
843    case Here{_text}:
844      asked(find(tree, beside(at)), beside(at), rest)
845    case Absent{}:
846      rest(Unit{})
847    case Unasked{}:
848      Asking{at}

Uses (8)

Used by (1)