def CrLc.lift

bend-osdev-crypto@0.1.0.0 · inst_lc.bend:27

import bend-osdev-crypto@0.1.0.0/inst_lc.bend as InstLc
import Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr

27# a legacy-ciphers result as an interface result
28def CrLc.lift(~A: Data, r: Result<&2, &2, L.LcError, A>) -> Result<&2, &2, Cr.CrError, A>:
29  Cr.CrError.lift(~L.LcError, ~A, ~CrLc.err, r)

Uses (5)

Used by (2)