macro_rules! modular_integer {
    ($name:ident, $base:ident, $max:expr) => { ... };
}