def last2

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/blake/blake3/loop.bend:33

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake3/loop.bend as Loop
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake3/types.bend as T

33def last2(rest: List<&2,T.Out>, +x: T.Out) -> T.Out:
34  match rest:
35    case Nil{}: x
36    case Con{y,r}: last2(r,y)

Uses (2)

Used by (4)