def w8s.rev_onto

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

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

454def w8s.rev_onto(ws: List<&2, OctByte>, acc: List<&2, OctByte>) -> List<&2, OctByte>:
455  match ws:
456    case Nil{}:
457      acc
458    case Con{h, t}:
459      w8s.rev_onto(t, Con{h, acc})

Uses (2)

Used by (21)