def g_to

bend-osdev-bytes@0.1.1.0 · PROOF.bend:269

import bend-osdev-bytes@0.1.1.0/PROOF.bend as PROOF
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

269def g_to(ws: List<&2, B.OctByte>, acc: List<&2, U32>) -> {B.w8s.to_list.go(ws, acc) == B.rev_onto(B.w8s.to_list(ws), acc) : List<&2, U32>}:
270  match ws:
271    case Nil{}:
272      {==}
273    case Con{h, t}:
274      g_to(t, Con{B.oct.to(h), acc})

Uses (7)

Used by (1)