def cut.at
import emerging-ezhttp@0.21.0.0/src/qs.bend as Qsimport Base
346# one character of the cut: the first `=` ends the text before it
347def cut.at(+c: Char, t: String, eq: Bool, rest: Unit -> Maybe<&2, Kv()>)
348 -> Maybe<&2, Kv()>:
349 match eq:
350 case True{}:
351 Some{("", t)}
352 case False{}:
353 cut.push(c, rest(Unit{}))