You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure which of those three would that be be, perhaps filter, but my expectation is "combinations" is like if working on the sequence indices, creating a combination of them (they are unique, therefore this is well defined, with no surprises) and then using the indices combination to pick the elements from the original collection.
My background (to see where my expectations come from): long time programmer, significant mathematical background, no experience with Python, no experience with functional languages other then Scala.
One-liner implementation for Seq which I think does what I would find intuitive (only not returning a proper String for String):
Maybe there is a naming convention to indicate a preference for:
or perhaps a context representing the preference.
The text was updated successfully, but these errors were encountered: