def prefix_fin

bend-collections-laws-crypto@1.0.0.0 · spec/math/generic.bend:139

import bend-collections-laws-crypto@1.0.0.0/spec/math/generic.bend as Generic
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/num.bend as N

139def prefix_fin(~T: Data, ~of: Nat -> T, r: Nat & Bool) -> Result<&2, &2, N.NumError, T>:
140  (+n, ok) = r
141  checked_pick(~T, ~of, n, ok)

Uses (7)

Used by (2)