def lines
import ezmcp@0.1.0.0/src/sse.bend as Sseimport Base
84# every line of the stream, in order
85def lines(ls: List<&2, String>, text: Sse) -> Sse:
86 match ls:
87 case []:
88 text
89 case l <> rest:
90 lines(rest, line(text, unr(l)))