When effection first started out, only generator functions were recognized as operations, not the generators themselves. Nowadays, we know that it's actually get Generator itself that is the heart of the operation, and that generator function is just a function that returns an Operation (the generator).
As such, there is no need to have a function that returns a generator function. We can just use a function that returns a generator.... or a generator function.
This change makes all of these operation generating functions directly into generators.
When effection first started out, only generator functions were recognized as operations, not the generators themselves. Nowadays, we know that it's actually get
Generator
itself that is the heart of the operation, and that generator function is just a function that returns an Operation (the generator).As such, there is no need to have a function that returns a generator function. We can just use a function that returns a generator.... or a generator function.
This change makes all of these operation generating functions directly into generators.