See Tips for golfing in Vyxal 3 - CGCC
Misc
∑can mostly be replaced with\+(foldl with+) (1b save). The only time this isn't equivalent is when you want to sum the digits of a number (/+casts to range not digits).- If you are in a mapping lambda and need to print each item on a newline, using a
,will save (1c/3b) over}”. - Similarly, a filter lambda followed by
”can be replaced with a mapping lambda with[,at the end. - Go for char score and byte score separately. More often than not, optimising the two scores are conflicting goals.
- For challenges with many inputs,
#?retrieves all inputs into a single list.