func fib(n) { let a = 1; let b = 2; until(n-- <= 0) { yield a; (a, b) = (b, a + b); } }