Batch.indexed: def of bend-edit-distance@0.2.2.0 Import: import bend-edit-distance@0.2.2.0/src/Batch.bend as Batch Lines 71-76 of bend-edit-distance@0.2.2.0/src/Batch.bend: https://jend.leeeet.dev/read.txt?path=bend-edit-distance@0.2.2.0/src/Batch.bend&start_line=71&end_line=76 import Base import bend-edit-distance@0.2.2.0/EdlibTypes.bend as E def indexed(jobs: List<&2, E.AlignJob>, +index: Nat) -> List<&2, WeightedJob>: match jobs: case Nil{}: Nil{} case +job <> tail: WeightedJob{index, estimate(job), job} <> indexed(tail, 1n+index) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&name=AlignJob https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Batch.bend&name=WeightedJob https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Batch.bend&name=estimate