def w.span.go

bend-kit-json@0.7.0.0 · json.bend:668

import bend-kit-json@0.7.0.0/json.bend as Json
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

668def w.span.go(n: Nat, r: Array<U32> & U32, +i: U32, o: W) -> Array<U32> & W:
669  match n:
670    case 0n:
671      (a, v) = r
672      (a, o)
673    case 1n+k:
674      (a, +c) = r
675      w.span.go(k, Bytes.peek(a, (i + 1 : U32)), (i + 1 : U32), w.put(o, c))

Uses (9)

Used by (1)