Escape.value: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/correctness/escape.bend as Escape Lines 65-71 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=65&end_line=71 import Base # the digits' octal value def value(cs: List<&2, Char>, +acc: U32) -> U32: match cs: case Nil{}: acc case Con{Chr{+x}, t}: value(t, ((acc * 8) + (x - 48) : U32)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub