re: Daily Challenge #10 - Calculator VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Rust, verbosely: use std::{ ops::{Add, Div, Mul, Sub}, str::FromStr, }; macro_rules! apply_op { ($op:ident, $tokens:ident, $idx:ide...
 

Oh macro_rules are something I haven't dug into and explored much yet! Definitely used the built in ones, but haven't written any yet.
Thanks for the example!

 

I was intimidated by them for a while and avoided the topic - tried one once and now they even end up in my daily puzzle solutions :P Truly not complicated to use, and super handy!

code of conduct - report abuse