I'm having trouble deciphering why the following couple of expressions evaluate the way they do.
#&@@
This returns the first value of a list. Why? Naïvely I would have expected this to replace the head of the list with the list itself.
1 ## &@@
This multiplies a list together, like
Times@@
Why is that? I imagine it's for the same reason as the first shortcut.
@@, for lists, the full form isList[x,y,z], and the 1st argument is x, which is also the first value of a list. Try# & @@ func[c, b, a]– egwene sedai Jan 29 '16 at 17:45FullForm[Hold[...]]. That displays the long form from which you can go to the help pages more easily. – Jens Jan 29 '16 at 17:51