isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
264 stars 57 forks source link

All substrings, if 2nd arg of .: is omitted #86

Closed jakobkogler closed 9 years ago

orlp commented 9 years ago

How is this different to y?

jakobkogler commented 9 years ago

y creates the superset. .:a) creates all connected (!!!) substrings.

So [0, 2] gets created by yU3, but not by .:U3) On Apr 26, 2015 7:01 PM, "Orson Peters" notifications@github.com wrote:

How is this different to y?

— Reply to this email directly or view it on GitHub https://github.com/isaacg1/pyth/pull/86#issuecomment-96409056.

orlp commented 9 years ago

All right. I got confused because you used 'substrings' in your title, but 'subsets' in your commit message.