def rcat
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
2358# xs reversed onto acc
2359def rcat(xs: List<&2, F32>, acc: List<&2, F32>) -> List<&2, F32>:
2360 match xs:
2361 case Nil{}:
2362 acc
2363 case Con{+x, t}:
2364 rcat(t, x <> acc)