1use core::ops::Shl; 2 3use crate::vm::{Any, IVm, numeric::Numeric}; 4 5impl<A: IVm> Shl for Any<A> { 6 type Output = Result<Any<A>, Any<A>>; 7 8 fn shl(self, rhs: Self) -> Self::Output { 9 self.numeric_op(rhs, Numeric::shl) 10 } 11}