Mapping leaves
Recursive functional programming
I love purrr.1 Aside from
its anonymous function
notation, one of the
functions that made me love the package was at_depth
, which iterates across a
list at a specified level of nesting. It has since been deprecated in favor of
modify_depth
, which is more powerful, but is significantly more finicky.