For example: Can we declare a function that works on pairs? Like $f(\{x,y\})$ or define an operation on pairs like $\{x,y\}\circ \{X,Y\}$?
I tried to look at f@@ but it doesn't seems to be what I want. I could declare a function such as
f[x_, y_, X_, Y_] := {x \[Theta][y] X, y Y} And then compute
f @@ {a, b, c, d} But this is not too "natural". Given what I know, If I want to compute, for example $\{x,y\} \circ \{x',y'\} \circ \{x'',y''\}$, I'd have to make a set $\{x,y,x',y'\}$, use f@@ which would yield another set of two elements, and now to compute the remaining operation, I'd have to construct a set with $\{i,j,x'',y''\}$ and then apply f@@ again. This is rather cumbersome.I'd like to construct an operation where I could really type $\{x,y\} \circ \{x',y'\} \circ \{x'',y''\}$ and it would work.