Nat.read.gate: def of Base Import: import Base Lines 2335-2340 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=2335&end_line=2340 import Base def Nat.read.gate(+s: String, ok: Bool) -> Maybe<&2, Nat>: match ok: case True{}: Nat.read.go(s, 0n) case False{}: None{} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=Nat.read.go https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String