For example (not what I really need but will fur sure answer my question)
f[x_]:=Sin[x];
der[x_]:=D[f[x],x]
At least this was my idea, but it does not work at all. You can see that the definition of der[x]
includes the definition of another function. And I want to get its derivative.