I undertand that I could assign. But in the manual the anon. function is not assigned, so I really want to know how to call it by the “internal” name “#3”.
This example is given in the manual which I’m trying to edit but as it stands the example can’t be used because there’s no explanation of how it can be done. So, either the example should be removed from the manual or the manual needs to explain how to use it. That’s why I want to know.
Two examples are given, but neither of them can be used as-is. Of course the first one could be passed as an argument to, say, map, but can the second also be passed?
Edit: Oh, it turns out that you really can do say map(function (x) x^2, a), so you don’t need to be able to access the anon. function’s name for this to make sense. I’ll clarify this in the manual.