def counts.prefix.got

gralha-coverage@0.1.0.1 · cover.bend:765

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base

765# Turn counts into starting positions.
766def counts.prefix.got(got: Array<U32> & U32, +i: U32, +acc: U32) -> Array<U32> & U32:
767  (c, v) = got
768  (Array.set(U32, c, i, acc), (acc + v : U32))
769
770@unsafe

Uses (6)

Used by (1)