def nil_is_empty

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/blake/blake3/tree.bend:142

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake3/tree.bend as Tree
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake3/types.bend as T
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend as S
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake3/lists.bend as LS

142def nil_is_empty(+xs: List<&2,T.Out>) -> {S.is_nil(xs) == LS.is_empty(T.Out,xs) : Bool}:
143  match xs:
144    case Nil{}: {==}
145    case Con{+x,+r}: {==}

Uses (5)

Used by (1)