3 ms·
Of particular interest in this language is the "then" and "back" syntax [0]. It looks like a somewhat different take on iterators, which I can see being more "r
by afranchuk 8y ago
Of particular interest in this language is the "then" and "back" syntax [0]. It looks like a somewhat different take on iterators, which I can see being more "readable" in certain situations. I haven't had a chance to try it out, but it seems like it may allow for some interesting behaviors.
[0]: https://github.com/billhails/PyScheme/wiki/Then-and-Back https://github.com/billhails/PyScheme/wiki/Then-and-Back
- piinbinary 8y agoIt feels something like a generator that has been hoisted up into the language so that it acts like a single value (which defaults to the first element in the generator).
- sitkack 8y agoIt was first written in Perl so that makes sense.