def list.div

bend-ml-llama@0.2.1.0 · main.bend:342

import bend-ml-llama@0.2.1.0/main.bend as BendMlLlama
import Base

342# xs / s
343def list.div(xs: List<&2, F32>, +s: F32) -> List<&2, F32>:
344  match xs:
345    case Nil{}:
346      Nil{}
347    case Con{+h, t}:
348      (h / s : F32) <> list.div(t, s)

Uses (3)

Used by (1)