Call your helper functions
Add++ doesn't have any way to combine multiple functional builtins into one command (for those familiar, like Jelly's
$¥ quicks). If you want to e.g. filter on a complex condition, you'll need to define a helper function containing the code for that condition.
When calling other functions from functional mode, you surround the name with
However, if the braces are omitted, it will only take the next character immediately after the quick. In this case, if there's a name clash between a builtin and a user-defined function, the interpreter defaults to the builtin.
So, for this example,
€ will actually call the
f builtin (prime factors), not the function
f (add 5).
If the builtin isn't defined however, such as
g, it will use the function instead. Therefore, you can save 2 bytes per helper function call like
The undefined builtins are
w, so name your helper functions these first, then move onto having to use braces if you have more than 9 helpers