Str.text.digits.zero.if: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/str.bend as Str Lines 457-468 of ezsys@0.1.0.0/src/str.bend: https://jend.leeeet.dev/read.txt?path=ezsys@0.1.0.0/src/str.bend&start_line=457&end_line=468 import Base # a leading '0' is dropped, and the zeros after it def text.digits.zero.if( zero: Bool, hd: Char, tl: String, more: Unit -> String ) -> String: match zero: case True{}: more(Unit{}) case False{}: SCon{hd, tl} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit