def angle_triples_flat_go
import bend-prot@0.1.0.0/bonded.bend as Bondedimport Base
378def angle_triples_flat_go(bs: List<&2, U32>, +flat: List<&2, U32>) -> List<&1, U32 & U32 & U32>:
379 match bs:
380 case Nil{}:
381 Nil{}
382 case x <> Nil{}:
383 Nil{}
384 case x <> y <> t:
385 append_triples(angle_fan_both(x, y, flat), angle_triples_flat_go(t, flat))