def internal_reverse_append_go

bend-mathlib@0.8.1.0 · list.bend:87

import bend-mathlib@0.8.1.0/list.bend as List
import Base

87def internal_reverse_append_go(a, -A: Kind(a), xs: List<a, A>, -ys: List<a, A>, -acc: List<a, A>) -> {List.reverse.go(a, A, List.append(a, A, xs, ys), acc) == List.reverse.go(a, A, ys, List.reverse.go(a, A, xs, acc)) : List<a, A>}:
88  match xs:
89    case Nil{}:
90      {==}
91    case h <> t:
92      internal_reverse_append_go(a, A, t, ys, h <> acc)

Uses (3)

Used by (1)