def expand

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/sha/packed/core_model.bend:33

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/packed/core_model.bend as CoreModel
import Base

33def expand(n: Nat, +history: List<&2, U32>) -> List<&2, U32>:
34  match n:
35    case 0n:
36      Nil{}
37    case 1n+p:
38      +w = next_word(history)
39      w <> expand(p, w <> history)

Uses (4)

Used by (7)