def inclusive

bend-parallel@0.1.0.0 · scan.bend:232

import bend-parallel@0.1.0.0/scan.bend as Scan
import Base

232# a[j] becomes a[0] + .. + a[j]; returns the array and the total.
233def inclusive(+b: Nat, a: Array<U32>) -> Array<U32> & U32:
234  run(True{}, b, Array.size(U32, a))

Uses (7)

Used by (0)

No other definition uses this definition.