-
Notifications
You must be signed in to change notification settings - Fork 15
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
Function-call slice syntax #128
Labels
Comments
2 tasks
anzopensource
pushed a commit
that referenced
this issue
Feb 18, 2021
This appears to be a bug in frozen, or something in arr.ai that is incorrectly inserting nil into the underlying set. This fixes an observed panic, but there is probably some other underlying issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python's
[]
operator supports slicing:a[start:stop:step]
.Add the same capability to arr.ai. Since arr.ai treats arrays as functions,
a(index)
, slicing support must be added to function-call syntax:a(start..<stop:step)
. It should work for all function-like objects: functions, arrays, dicts, strings and byte arrays.The text was updated successfully, but these errors were encountered: