I come across this problem in many different forms when doing arithmetic in MMA and have until now just suffered along doing it the long way – having given up trying to figure it out myself – but now I have to admit that's getting a bit repetitive.
How does one get two slots working in a pure function? I'm trying to work out the % differences in the following list but it just returns can not be filled errors.
data={16,24,36,54,81};
(100*#2)/#1 &/@ Partition[data,2,1]

(100*#[[1]])/(#[[2]]) & /@ pwherep=Partition[data,2,1]is one way – Nasser Nov 30 '17 at 05:33#1/#2directly fromdata? Else the main big mystery remains. – BBirdsell Nov 30 '17 at 05:38(100*#2)/#1 & @@@ pis the cleanest way. – jjc385 Nov 30 '17 at 05:39f[#1, #2] & @@@ Partition[data, 2, 1]with that off[#] & /@ Partition[data, 2, 1](for undefinedf).@@@replaces the head,List, of each sublist withf, whereas/@appliesfto each sublist. – aardvark2012 Nov 30 '17 at 06:56@@@. – Αλέξανδρος Ζεγγ Nov 30 '17 at 12:12