def fan_triples
import bend-prot@0.1.0.0/bonded.bend as Bondedimport 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)