Enc.into.col: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/enc.bend as Enc Lines 188-194 of bolt@1.27.0.0/src/lsp/enc.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&start_line=188&end_line=194 import Base # a column of a line's chars read in an encoding, as a code-point column def into.col(ee: Enc, cs: List<&2, Char>, col: U32) -> U32: match ee: case Utf16{}: U32.from_nat(into.of(Utf16{}, cs, U32.to_nat(col))) case Utf32{}: col Uses (7): 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.from_nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=Enc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=into.of