def foreign.judge
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
850# a foreign body that climbs out of the checkout stops the walk, naming it
851def foreign.judge(out: Bool, +tree: Tree, +at: String, +raw: String, rest: Unit -> Stop) -> Stop:
852 match out:
853 case True{}:
854 Climbs{raw}
855 case False{}:
856 foreign.asked(find(tree, at), tree, at, rest)