def past_loop_generic
import bendvy-ecs-core@0.1.0.3/machine_stream_queue.bend as MachineStreamQueueimport Base
46def past_loop_generic(-E:Data,fuel:Nat,queue:Queue<E>,+boundary:Nat) -> Queue<E>:
47 match fuel:
48 case Zero{}:queue
49 case Succ{rest}:past_normalized_generic(E,normalize_generic(E,queue),boundary,next => past_loop_generic(E,rest,next,boundary))