def String.length

Base · base.bend:2029

import Base
2029def String.length(s: String) -> Nat:
2030  match s:
2031    case SNil{}:
2032      0n
2033    case SCon{h, t}:
2034      1n+String.length(t)

Uses (2)

Used by (225)