def fan_triples

bend-prot@0.1.0.0 · bonded.bend:361

import bend-prot@0.1.0.0/bonded.bend as Bonded
import Base

361def fan_triples(+x: U32, +y: U32, ns: List<&2, U32>) -> List<&1, U32 & U32 & U32>:
362  match ns:
363    case Nil{}:
364      Nil{}
365    case c <> t:
366      (x, y, c) <> fan_triples(x, y, t)

Uses (4)

Used by (2)