pub fn gen_eval(e: &GenExpr, i: i64) -> i64
Evaluate a generator at index i. TOTAL: div/mod by zero is 0; all arithmetic wraps.
i