I often throw around signatures like:
$$f: X \times X \to X$$
and
$$f: (x_1, x_2) \mapsto x_1 \cdot x_2$$
But how do you call these kinds of signatures?
EDIT: Some clarification:
- The first version maps sets and uses $\to$
- The second version maps variables and uses $\mapsto$
How do you call these different kinds of notations, because you usually write down both for a specific function (one to show domain and codomain, second to show the graph)