Answer.text: def of snap@1.4.0.0 Import: import snap@1.4.0.0/src/answer.bend as Answer Lines 32-40 of snap@1.4.0.0/src/answer.bend: https://jend.leeeet.dev/read.txt?path=snap@1.4.0.0/src/answer.bend&start_line=32&end_line=40 import Base # what the program printed, stdout and stderr together: the answer after its # first newline, or nothing when it has none. The body is returned as it # stands, never walked. def text(out: String) -> String: match out: case SNil{}: SNil{} case SCon{ch, +tail}: text.at(Char.is_eq(ch, '\n'), tail, _u => text(tail)) Uses (4): 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 https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/src/answer.bend&name=text.at