Sse.value: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/sse.bend as Sse Lines 30-36 of ezmcp@0.1.0.0/src/sse.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/sse.bend&start_line=30&end_line=36 import Base # a data field's value: the text after `data:`, less one space def value(text: String) -> String: match text: case SNil{}: SNil{} case SCon{+h, +t}: Bool.pick(String, Char.is_eq(h, ' '), t, SCon{h, t}) 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