def find.start

lawful-bytes@0.1.1.0 · bytes.bend:88

import lawful-bytes@0.1.1.0/bytes.bend as Bytes
import Base
import lawful-bytes@0.1.1.0/defs.bend as D

88def find.start(n: Nat, r: D.Bytes & U32, +from: U32, +to: U32, +c: U32) -> D.Bytes & U32:
89  (b, +x) = r
90  find.go(n, U32.is_eq(x, c), at(b, (from + 1 : U32)), from, to, c)

Uses (9)

Used by (3)