def scan.subs
import gralha-coverage@0.1.0.1/cover.bend as Coverimport Base
549def scan.subs(st: Subs, n: Nat, +sy: F32, +dy: F32, +even: Bool, +weight: F32) -> Subs:
550 match n:
551 case 0n: st
552 case 1n+d: scan.subs(subs.step(st, sy, dy, even, weight), d, (sy + dy : F32), dy, even, weight)