Macro std::macros::reduce

macro reduce($mac, $base, $arg/* ... */) { ... }

Perform a left-associative fold over the arguments

$mac is a reference to a macro, $base is a mandatory base case followed by a variable number of extra arguments to fold.

Example