def halves.place

gralha-coverage@0.1.0.1 · cover.bend:1063

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base

1063def halves.place(onLeft: Bool, onRight: Bool, +v: F32, +a: U32, +b: U32, +u: F32, +mid: U32, left: List<&2, Run>, right: List<&2, Run>) -> Halves:
1064  match onLeft onRight:
1065    case True{} _: Halves{v, Con{Run{a, b, u}, left}, right}
1066    case False{} True{}: Halves{v, left, Con{Run{a, b, u}, right}}
1067    case False{} False{}: Halves{v, Con{Run{a, mid, u}, left}, Con{Run{mid, b, u}, right}}

Uses (6)

Used by (1)