def bits.sets
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
855def bits.sets(xs: List<&2, Inst>, +fuel: Nat, +prog: List<&2, Inst>, +pc: U32) -> List<&2, Bit>:
856 match xs:
857 case Nil{}:
858 Nil{}
859 case Con{ISet{neg, items}, t}:
860 bits.set(fuel, prog, pc, neg, items) <> bits.sets(t, fuel, prog, (pc + 1 : U32))
861 case Con{i, t}:
862 bits.sets(t, fuel, prog, (pc + 1 : U32))