String.get: def of Base Import: import Base Lines 2151-2158 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=2151&end_line=2158 import Base def String.get(s: String, n: Nat) -> Maybe<&2, Char>: match s n: case SNil{} _: None{} case SCon{h, t} 0n: Some{h} case SCon{h, t} 1n+p: String.get(t, p) Uses (4): 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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String