Mathematica has a large number of built-in symbols, and I am unsure when there is a shorthand for the operation I am trying to perform.
Question 1:
Is there a shorthand for the function Join[#,#] &
? Here I only need the operation to apply to lists.
Question 2:
Is there a shorthand for a function which swaps out one operation with another:
f[bool_, a_, b_] := If[bool, a + b, a - b]