use estring::{Aggregate, EString, Product, SepVec, Sum}; type PlusVec = SepVec; type MulVec = SepVec; fn main() -> estring::Result<()> { let res = EString::from("10+5*2+3") .parse::>>>>()? .agg(); assert_eq!(res, 23.0); Ok(()) }