-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rearrange at indices builtin #537
Comments
APL has |
I think Jelly has something similar. |
this fits a generalized primitive, which is apply at indices, which fits another generalized primitive which is called Under. apply at indices seems like a decent fit for golfing. |
|
No it really doesn't. |
What type is
isn't how |
And if you had to give a one line description of what this does, what would it be? @chunkybanana for this and the above. |
Indices is an integer list, I guess? I'm bad at python. "Call a function on all elements at specified indices together and put that back in the list"? BTW, this should be 1 byte because it's a function element and we have the space. |
Of course, it's going to be an overload of |
Something like (list, function, indices) ->
The text was updated successfully, but these errors were encountered: