def escape.onto
import emerging-ezhttp@0.21.0.0/src/html.bend as Htmlimport Base
51# a string escaped, each character in turn, followed by `rest`
52def escape.onto(s: String, rest: String) -> String:
53 match s:
54 case SNil{}:
55 rest
56 case SCon{+c, tail}:
57 one(c, escape.onto(tail, rest))