BendMlLlama.goes_before: def of bend-ml-llama@0.2.1.0 Import: import bend-ml-llama@0.2.1.0/main.bend as BendMlLlama Lines 1147-1153 of bend-ml-llama@0.2.1.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-llama@0.2.1.0/main.bend&start_line=1147&end_line=1153 import Base # whether a value v goes before the head of cs: the head is smaller (an equal one keeps its place, ahead of v) def goes_before(cs: List<&2, Cand>, +v: F32) -> Bool: match cs: case Nil{}: True{} case Con{Cand{hv, hi}, t}: F32.is_lt(hv, v) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-ml-llama@0.2.1.0/main.bend&name=Cand