Str.text.pad_right: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/str.bend as Str Lines 434-443 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=434&end_line=443 import Base # the text with spaces after it up to `n` code points; a longer text is # kept whole def text.pad_right(txt: String, width: Nat) -> String: match txt width: case SNil{} k: String.repeat(" ", k) case SCon{h, t} 0n: SCon{h, t} case SCon{h, t} 1n+k: SCon{h, text.pad_right(t, k)} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.repeat