Cli.summary: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5136-5141 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5136&end_line=5141 import Base # The first paragraph: the text before the first blank line. def summary(s: String) -> String: match s: case SNil{}: SNil{} case SCon{Chr{10}, SCon{Chr{10}, tail}}: SNil{} case SCon{head, tail}: SCon{head, summary(tail)} Uses (6): 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=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil