def xts.last
import bend-osdev-cipher-modes@0.1.0.0/xts.bend as Xtsimport 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)