Num.take.digits: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/num.bend as Num Lines 116-121 of yaml-for-bend@0.1.1.0/num.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/num.bend&start_line=116&end_line=121 import Base def take.digits(s: String) -> String: match s: case SNil{}: "" case SCon{+c, t}: when(String, Char.is_digit(c), u => SCon{c, take.digits(t)}, u => "") 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=yaml-for-bend@0.1.1.0/num.bend&name=when