def xts.last

bend-osdev-cipher-modes@0.1.0.0 · xts.bend:153

import bend-osdev-cipher-modes@0.1.0.0/xts.bend as Xts
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M

153def xts.last(rest: List<&2, M.CmBlock>, p: M.CmBlock) -> M.CmBlock:
154  match rest:
155    case Nil{}:
156      p
157    case Con{q, r}:
158      xts.last(r, q)

Uses (2)

Used by (10)