In Introduction to Topology, Mendelson defines the Cartesian Product of an Indexed Family as follows:
DEFINITION Let $\{X_\alpha\}_{\alpha \in I}$ be an indexed family of sets. The product of the sets $\{X_\alpha\}_{\alpha \in I}$, written $\prod_{x\in I}X_\alpha$ consists of all functions $x$ with domain the indexing set $I$ having the property that for each $\alpha \in I$, $x(\alpha)\in X_\alpha$.
Halmos, in Naive Set Theory, makes the following observation about this sort of product:
Ordered triples, ordered quadruples, etc., may be defined as families whose index sets are unordered triples, quadruples, etc.
However, it is not immediately apparent to me why this is true. It makes sense if we understand the prior assertions in Halmos that $\prod_{i \in I} X_i = X_i$ and that $\prod_{i \in I} X_i = X_a \times X_b$ when $I = \{a, b\}$, but these already pose difficulty for me.
Let $I = \{0, 1\}$, let $X_0 = \{A, B\}$, and let $X_1 = \{C, D\}$. Then by Mendelson's (and Halmos's) definitions, it would seem to me that . . .
$$\prod_{i \in I} X_ i = \{\{(0, A), (1, C)\}, \{(0, A), (1, D)\}, \{(0, B), (1, C)\}, \{(0, B), (1, D)\}\}$$
This would appear to me to be the set of all functions matching the definition given, but it is not equal to $X_0 \times X_1$. Moreover, extending this to a case where the index set $I$ is a triple, we would not end up with ordered triples, but with each subset of the product containing three ordered pairs.
When Halmos posits the equalities he does, the idea seems easy to grasp, but the peculiar wording of Mendelson's definition suggests something different to me.