Blurb.has.nl: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/blurb.bend as Blurb Lines 27-33 of ezx@1.11.0.0/src/pub/blurb.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pub/blurb.bend&start_line=27&end_line=33 import Base # whether a text holds a newline, so is more than one line def has.nl(text: String) -> Bool: match text: case SNil{}: False{} case SCon{+h, t}: nl.step(Char.is_eq(h, '\n'), _u => has.nl(t)) Uses (5): 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=Char.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/blurb.bend&name=nl.step