Myers.hw_start_best: def of bend-edit-distance@0.2.2.0 Import: import bend-edit-distance@0.2.2.0/src/Myers.bend as Myers Lines 591-595 of bend-edit-distance@0.2.2.0/src/Myers.bend: https://jend.leeeet.dev/read.txt?path=bend-edit-distance@0.2.2.0/src/Myers.bend&start_line=591&end_line=595 import Base import bend-edit-distance@0.2.2.0/EdlibTypes.bend as E import bend-edit-distance@0.2.2.0/src/Alignment.bend as A def hw_start_best(+end: Nat, best: A.Best) -> A.Location: match best: case A.Best{_, locations}: hw_start(end, Maybe.default(&2, A.Location, List.last(&2, A.Location, locations), A.Location{E.BeforeStart{}, 0n})) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.last https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default 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=Coordinate https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Alignment.bend&name=Best https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Alignment.bend&name=Location https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Myers.bend&name=hw_start