def ar.reset.put

bend-kit-regex@0.8.0.0 · regex.bend:1858

import bend-kit-regex@0.8.0.0/regex.bend as Regex
import Base

1858def ar.reset.put(vm: Vm, old: Array<Th>, spare: Array<Th>, +cap: U32, +init: List<&2, Maybe<&2, U32>>) -> Ar:
1859  Vm{+ths, best} = vm
1860  +count = U32.from_nat(List.length(&2, Th, ths))
1861  ar.reset.size(U32.is_le(count, cap), ths, best, old, spare, count, cap, init)

Uses (11)

Used by (1)