Head.at_least: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/head.bend as Head Lines 26-34 of bend-toon-codec@0.1.0.0/src/head.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/head.bend&start_line=26&end_line=34 import Base # Has the string at least `n` characters? def at_least(+s: String, +n: Nat) -> Bool: match s n: case _ 0n: True{} case SNil{} _: False{} case SCon{h, t} 1n+p: at_least(t, p) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String