Head.lead: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/head.bend as Head Lines 6-12 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=6&end_line=12 import Base # Is the first character the code point `c`? def lead(+s: String, +c: U32) -> Bool: match s: case SNil{}: False{} case SCon{Chr{x}, t}: U32.is_eq(x, c) 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=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq