I have to somehow correct myself, because I can't find this definition of "generator" anymore. Maybe I saw it in HOP.
I tried to reference WP, but Generator (computer programming) refers to something different. That's the yield concept from Python (gather-take in Raku), which is not a closure maker, but syntactic sugar for an iterator.
Looks like the programming world is taking over the Python interpretation, ECMA6 introduced yield too.
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^9: Unclear about 'our' (Generators)
by LanX
in thread Unclear about 'our'
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |