def split_l

bendtorch@1.3.0.0 · dtype.bend:214

import bendtorch@1.3.0.0/dtype.bend as Dtype
import Base

214def split_l(ws: List<&2, U32>) -> List<&2, HW>:
215  match ws:
216    case Nil{}:
217      Nil{}
218    case Con{+w, t}:
219      HW{half_lo(w), half_hi(w)} <> split_l(t)

Uses (5)

Used by (1)