I understand that in 0.5, you can use generators, and that the syntax is
functionname(generator)
eg
sum(x^2 for x in 1:9 if isodd(x))
However, is there syntax for just the generator, without applying it? Ie I am looking for something equivalent to
identity(x^2 for x in 1:9 if isodd(x))