[−][src]Macro iter_comprehensions::product
A product expression.
The macro takes as first argument a type.
Example
The following expression corresponds to the mathematical expression $\prod_{i=1}^5 i$.
use iter_comprehensions::product; assert_eq!(product!(i in 1..=5, i), 120);