def rcat

bendtorch@1.3.0.0 · main.bend:2358

import bendtorch@1.3.0.0/main.bend as Bendtorch
import 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)

Uses (2)

Used by (5)