def lead2
import bend-toon-codec@0.1.0.0/src/head.bend as Headimport Base
22# Are the first two characters `a` then `b`?
23def lead2(+s: String, +a: U32, +b: U32) -> Bool:
24 lead(s, a) && lead(drop(s), b)
import bend-toon-codec@0.1.0.0/src/head.bend as Headimport Base
22# Are the first two characters `a` then `b`?
23def lead2(+s: String, +a: U32, +b: U32) -> Bool:
24 lead(s, a) && lead(drop(s), b)