Escape.octal: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/correctness/escape.bend as Escape Lines 37-45 of bolt@1.27.0.0/src/rules/correctness/escape.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/correctness/escape.bend&start_line=37&end_line=45 import Base # the Sym's char when it is an octal digit def octal(ss: Sym) -> Maybe<&2, Char>: match ss: case SZero{}: Some{'0'} case SDigit{Chr{+x}}: Bool.pick(Maybe<&2, Char>, U32.is_le(x, 55), Some{Chr{x}}, None{}) case other: None{} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_le https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/correctness/escape.bend&name=Sym