macro_rules! constant { ($x:expr) => { ... }; }
The constant with no arguments constant(x) = () -> x.
use rust2fun::prelude::*; let f = constant!(42); assert_eq!(42, f());