Cli.leading_indent: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1007-1013 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1007&end_line=1013 import Base def leading_indent(s: String) -> String: match s: case SNil{}: "" case SCon{+head, tail}: Bool.pick(String, Char.is_eq(head, ' '), SCon{head, leading_indent(tail)}, "") Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String