Myers.band_keep_first: def of bend-edit-distance@0.2.2.0 Import: import bend-edit-distance@0.2.2.0/src/Myers.bend as Myers Lines 239-243 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=239&end_line=243 import Base def band_keep_first(+score: Nat, bottom: Nat, +maximum: Nat, length: Nat, target_length: Nat, column: Nat) -> Bool: Bool.and(Nat.is_lt(score, Nat.add(maximum, 32n)), Nat.is_ge(Nat.add(Nat.add(bottom, maximum), target_length), Nat.add(Nat.add(score, length), column))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_ge https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt