Hello! Made 2 custom blocks that could be helpful in some situations
Trying to make actually useful blocks. So, what do you all think? Please rate from 0 to 5. Also, anyone can use these if they want to. As my last custom block, i feel like they should be in the Snap! Coding library
Variadic list is nteresting, but it seems to me more Snap!py to just input a list of Booleans. Implement using a loop with the first/rest of paradigm and shortcutting once the answer is known.
You could add blocks like that to your project, they would go well together.
Sorry if this is bad news, but we have
in the "Variadic reporters" library. They guarantee left to right and short-circuit when they get an answer that settles the entire question.
They don't have your feature of all-true vs. all-false, but of course all-false is the same as not (any-true).
As for list vs. variadic input, as always, if you have a list whose items you want to use as the inputs in a variadic input slot, drop the list on the left-right arrowheads (when you see a red halo) and it'll be as if you opened up as many input slots as needed for the items of your list.
If you grew up with that song, it'll help motivate this question:
What English word has the vowels E-I-E-I-O in that order (and no others)?
No fair regex-searching a dictionary!