Terracing: the register levels reached from a baseline by a sequence of shifts, each cumulative — the running sums of the shifts.
- terrace level shifts = (List.scanl (fun (x1 x2 : ℤ) => x1 + x2) level shifts).tail
Used by terrace_nil, terrace_cons, length_terrace, terrace_append, terrace_mono, RegisterTier.realize
Used in BeckmanPierrehumbert1986