String.length: def of Base Import: import Base Lines 2029-2034 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=2029&end_line=2034 import Base def String.length(s: String) -> Nat: match s: case SNil{}: 0n case SCon{h, t}: 1n+String.length(t) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String