Str.text.rstrip.lone: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/str.bend as Str Lines 47-53 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=47&end_line=53 import Base # a lone last character: gone when it is whitespace def text.rstrip.lone(sp: Bool, hd: Char) -> String: match sp: case True{}: SNil{} case False{}: SCon{hd, SNil{}} 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=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String