def first

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/blake/blake3.bend:234

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend as Blake3
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake3/types.bend as T

234def first(xs: List<&2,T.Out>) -> T.Out:
235  match xs:
236    case Nil{}: T.Out{cv_of(iv()),block_of(Nil{}),0,0,0}
237    case Con{x,r}: x

Uses (5)

Used by (2)