def foreign.asked
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport 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}