def unr.at

ezmcp@0.1.0.0 · src/sse.bend:13

import ezmcp@0.1.0.0/src/sse.bend as Sse
import Base

13# one char of a line: a `\r` that ends the line is dropped
14def unr.at(head: Char, rest: Unit -> String, ends: Bool) -> String:
15  match ends:
16    case True{}:
17      ""
18    case False{}:
19      SCon{head, rest(Unit{})}

Uses (4)

Used by (1)