Lock.name.at: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 91-98 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=91&end_line=98 import Base # the hash this name names when it is the one looked for, otherwise the # rest's. The rest arrives as a thunk, so the first hit ends the scan. def name.at(hit: Bool, hash: String, rest: Unit -> String) -> String: match hit: case True{}: hash case False{}: rest(Unit{}) 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit