Alright, then a closure seems like it makes sense. Although I would not name it, just send in x->f(x...) directly, since that is self documenting. I don’t think this needs to be in either Base or a library since it is one of the uncountable trivial transformation that you can do with a closure.
2 Likes