def cr.pick_acc

bend-osdev-crypto@0.1.0.0 · modes.bend:104

import bend-osdev-crypto@0.1.0.0/modes.bend as Modes
import Base
import bend-osdev-crypto@0.1.0.0/stream.bend as St

104def cr.pick_acc(full: Bool, +c: List<&2, U32>, acc: List<&2, List<&2, U32>>) -> List<&2, List<&2, U32>>:
105  match full:
106    case True{}:
107      Con{St.cr.rev_onto(c, Nil{}), acc}
108    case False{}:
109      acc

Uses (4)

Used by (1)