Clock.digits_end: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/clock.bend as Clock Lines 127-133 of cswap-bend-cli@0.1.0.0/clock.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/clock.bend&start_line=127&end_line=133 import Base # Drop a leading run of digits. def digits_end(s: String) -> String: match s: case SNil{}: SNil{} case SCon{+c, +t}: digits_end.pick(Char.is_digit(c), c, t, digits_end(t)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_digit https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clock.bend&name=digits_end.pick