@Adnan Maybe a builtin for is_positive? 0› works as well of course, but not sure if it's used enough to justify a 1-byte builtin (if there are any left in v2).
I enjoyed looking at the 05AB1E source code to figure out how things worked, I guess you're forcing me to learn Elexir : D (and this is a very good thing btw : D)
I might have missed some of the suggestions, but I think four single-byte suggestions were made thus far? ≥; ≤; filter-by similar to €; loop in [1,n] range.
@Kaldo Good point. You've all used 05AB1E more than me, but perhaps we should all name a few 1-byters we've barely used to see which could be moved to 2-byters if necessary?
That's why I asked if it is possible. I new it was going to be particularly hard. But in case you want and do manage to implement it, the same would also apply to the potential 1-byte filter
I'd like to see challenges which require more complex solutions in merely all languages, but I'd especially enjoy such answers in languages like 05AB1E
Maybe it's time to nominate 05AB1E for Language of the Month?
There are loads of commands I personally haven't used yet, but here are some I personally think could be 2-byters (take it with a grain of salt, though): wÞ@. And here some of which I'm unsure how they work: Ƶçü. And here one that can be removed entirely ó (dupe of ï).
@Mr.Xcoder You should try some of the unanswered challenges in 05AB1E. ;)
@Mr.Xcoder I've got three Revival badges thus far (all with Java of course.. these unanswered challenges are usually pretty complex). You could do some unanswered challenges in 05AB1E. I wish you good luck, though, you'll probably need it. ;)
Hmm, should we also look at 2-byters that should become 1-byters perhaps (if any)?
@Adnan LoTM will soon run out of nominations, and I don't think that a language which is a bit more active during LoTM would cause harm, as things need some spicing up
@KevinCruijssen I'm not sure I have the time and patience to try them now, but perhaps I will let you know if I think any of them looks tackle-able.
I'd say we need two separate commands, and that k should be kept in place. We should strive to preserve at least a decent amount of backwards-compatibility IMO
@Mr.Xcoder "We should strive to preserve at least a decent amount of backwards-compatibility IMO" Is "decent amount of backward-compatibility" good enough ?
To me it's either fully backward-compatible
or it's not
and you have to review your existing algorithms to make them compatible with the rewrite
@Kaldo I've used `k` twice thus far: https://codegolf.stackexchange.com/a/169206/52210 https://codegolf.stackexchange.com/a/166361/52210
And I'm also interesting to see the SE data results to see the statistics. I think it would be interesting in general, but also useful for our discussions here.
If I had more experience with the stackexchange API I would have tried it myself to get the load of @Adnan a bit. Unless he can make such an overview in a blink of an eye of course, then I'll leave it to him. ;)
@Adnan Another suggestion perhaps that I remember wanting to use a few times before. Let's say you have a list [1,2,3,4,5,6] and a list with truthy/falsey values [0,0,1,0,1,0], could we have a command to only keep the values of the first list, where they are truthy (1) in the second list? Can be a 2-byter, but it seems like a useful thing to have added.
Also, I think 05AB1E lacks one major thing: Function / Block reusability. e.g. If it were possible to define blocks / functions in 05AB1E, this challenge could be solved way more easily.
Do you see any opportunity to include such a thing in the rewrite, @Adnan?