def g_of

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

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

255def g_of(xs: List<&2, U32>, acc: List<&2, B.OctByte>) -> {B.w8s.of_list.go(xs, acc) == B.w8s.rev_onto(B.w8s.of_list(xs), acc) : List<&2, B.OctByte>}:
256  match xs:
257    case Nil{}:
258      {==}
259    case Con{h, t}:
260      g_of(t, Con{B.oct.of(h), acc})

Uses (7)

Used by (1)