It does work, but I do not understand how to tie it to the constructs I know exist (such as &Module.fun/1 for example a reference to a function in Module named fun with arity 1).
Can anyone explain to me what this does and where in the docs I can read about this usage?
The specific usage you mentioned isn’t covered explicitly in that post, but essentially & is “create an anonymous function with what follows” and &1, &2 and so on mean “use argument number 1 here, number 2 here, etc.”.
causing me to stall when I get to the argument list. In my mind the &(...) and &.../n patterns are easily differentiated - &... not so much - scanning left to right I have to get to end of the function name to know what I’m actually dealing with.