def rev_onto

bend-osdev-bytes@0.1.1.0 · bytes.bend:248

import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytes
import Base

248def rev_onto(xs: List<&2, U32>, acc: List<&2, U32>) -> List<&2, U32>:
249  match xs:
250    case Nil{}:
251      acc
252    case Con{h, t}:
253      rev_onto(t, Con{h, acc})

Uses (2)

Used by (17)