def escaped.other
import yaml-for-bend@0.1.1.0/parse.bend as Parseimport Base
678def escaped.other(c: Char, rest: String) -> String:
679 match c:
680 case Chr{+x}:
681 Bool.pick(String, U32.is_eq(x, 8), "\\b", Bool.pick(String, U32.is_eq(x, 0), "\\0", SCon{Chr{x}, SNil{}})) ++ rest