etween this and rapply is that this will also apply
the function on EACH element of the list, even if it's not a &quot;terminal node&quot;
inside the list tree.
An attribute is added to indicate if the value returned is
from a branch or a leaf."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/Te