def fleaf
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
2780def fleaf(xs: List<&1, FS>, +h: Nat, +dm: Dm, acc: List<&1, Array<F32>>) -> List<&1, Array<F32>>:
2781 match xs:
2782 case Nil{}:
2783 List.reverse(&1, Array<F32>, acc)
2784 case Con{x, rest}:
2785 fleaf(rest, h, dm, fs_o(fheads(h, 0n, dm, x)) <> acc)