def rev_app8
import bend-osdev-bytes@0.1.1.0/PROOF.bend as PROOFimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
709# concat: pushing each piece's words is reversing the joined words
710def rev_app8(+xs: List<&2, B.OctByte>, +ys: List<&2, B.OctByte>, +acc: List<&2, B.OctByte>) -> {B.w8s.rev_onto(List.append(&2, B.OctByte, xs, ys), acc) == B.w8s.rev_onto(ys, B.w8s.rev_onto(xs, acc)) : List<&2, B.OctByte>}:
711 match xs:
712 case Nil{}:
713 {==}
714 case Con{h, t}:
715 rev_app8(t, ys, Con{h, acc})