def reverse

bend-collections@1.0.0.0 · spec/lib/common.bend:140

import bend-collections@1.0.0.0/spec/lib/common.bend as Common
import Base

140def reverse(-A: Data, xs: List<&2, A>) -> List<&2, A>:
141  match xs:
142    case Nil{}:
143      Nil{}
144    case Con{h, t}:
145      snoc(A, reverse(A, t), h)

Uses (2)

Used by (0)

No other definition uses this definition.