Target.name.keep: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/ez/target.bend as Target Lines 73-86 of ezx@1.13.0.0/src/ez/target.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/ez/target.bend&start_line=73&end_line=86 import Base # one char of a name, with the rest of the name still to be asked about. # The rest arrives as a thunk, so a char that ends the name ends the walk. def name.keep(mark: Mark, rest: Unit -> Bool) -> Bool: match mark: case Word{}: rest(Unit{}) case Dot{}: rest(Unit{}) case Slash{}: False{} case Tilde{}: False{} case Other{}: False{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/ez/target.bend&name=Mark