Scan.simple.escape: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/scan.bend as Scan Lines 802-841 of yaml-for-bend@0.1.1.0/scan.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/scan.bend&start_line=802&end_line=841 import Base def simple.escape(e: Char) -> Maybe<&2, Char>: match e: case '0': Some{Chr{0}} case 'a': Some{Chr{7}} case 'b': Some{Chr{8}} case 't': Some{Chr{9}} case '\t': Some{Chr{9}} case 'n': Some{Chr{10}} case 'v': Some{Chr{11}} case 'f': Some{Chr{12}} case 'r': Some{Chr{13}} case 'e': Some{Chr{27}} case ' ': Some{' '} case '"': Some{'"'} case '/': Some{'/'} case '\\': Some{'\\'} case 'N': Some{Chr{133}} case '_': Some{Chr{160}} case 'L': Some{Chr{8232}} case 'P': Some{Chr{8233}} case _: None{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil