macro_rules! constant3 { ($x:expr) => { ... }; }
The constant function with 3 arguments constant3(x) = (_, _, _) -> x.