def pct.step
import bend-net-url@0.4.0.0/url.bend as Urlimport Base
118def pct.step(st: Pd, +c: U32, racc: String) -> Pd & String:
119 match st:
120 case PdLit{}:
121 pct.lit(c, racc, U32.is_eq(c, 37))
122 case PdHi{}:
123 pct.hi(unhex(c), racc)
124 case PdLo{+x}:
125 pct.lo(x, unhex(c), racc)
126 case PdBad{}:
127 (PdBad{}, racc)