def escaped.other

yaml-for-bend@0.1.1.0 · parse.bend:678

import yaml-for-bend@0.1.1.0/parse.bend as Parse
import 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

Uses (5)

Used by (1)