-
Notifications
You must be signed in to change notification settings - Fork 8
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
CodeBlock Arithmetic #49
Comments
@phase I think I know how to implement the second one, but isn't the first basically the same thing as |
@kirbyfan64 Oh yeah, forgot about that operator 🐼. I don't know what else it could be. |
What if |
That makes sense, though using arithmetic operators on arrays already folds them. |
@phase Well, |
So something like |
@phase Either that (a right fold) or a left fold: |
We can just use whatever way |
@phase That would be a left fold! |
|
@kirbyfan64 No problemo ❤️ 🌴 I had an idea about unique filtering, as that seems to be the craze.
|
Damn it, wrong issue. :/ |
@phase What if the unique sort only removed adjacent duplicates? Since sort is now implemented (#48), for full duplicate removal, one could do Also, my vote goes to |
What use cases does only removing adjacent duplicates have? |
@phase ...I honestly have no clue. I was just thinking of how |
{1o}3*
should run the block 3 times.[123]{)o}/
Should run the block for every object in the array with the object placed on the top of the stack, printing234
. (No idea how to implement this 😨)Thoughts @kirbyfan64?
The text was updated successfully, but these errors were encountered: