Seriously
Seriously copied to clipboard
Smarter overloading with iterables
- If at first we don't succeed, try vectorizing
- Other stuff?
To that end, I'll start a list of commands that don't work with iterables.
-
╨(permutations) doesn't work withH(head),t(tail),í(index) -
Z(zip) doesn't work withS(sort)
Monads
The linked commit fixes the specific issues mentioned in @Sherlock9's comment. As further issues come up, they will be fixed similarly. The issue is caused by commands that need to evaluate an entire iterable to work not properly handling generators. This will be fully fixed by a large-scale rewrite that is in progress, that uses monadic types internally to handling the various overloads of commands and apply them correctly to the various possible types that might be present.