The partition calculus is a generalization of Ramsey theory to the transfinite. In its basic setting, we ask, given ordinals $\alpha,\beta,\gamma$, whether
$$ \gamma\to(\alpha,\beta)^2, $$
meaning that if the edges of the complete graph on $\gamma$ vertices, $K_\gamma$, are colored red and blue, then either there is a red copy of $K_\alpha$ (that is, a subset of $\gamma$ of order type $\alpha$, any edge between two of its vertices being red), or a blue copy of $K_\beta$.
To investigate partition relations satisfied by ordinals of the form $\omega^\alpha$ for $\alpha$ countable (where the exponentiation is in the ordinal sense), in many cases it is convenient to work not with $\omega^\alpha$ directly, but rather with some other set that can be ("naturally") ordered in type $\omega^\alpha$. For example, for $n<\omega$, we typically work with
$$ W(n)=\{(m_0,m_1,\dots,m_{n-1})\in\mathbb N^n\mid m_0<m_1<\dots<m_{n-1}\}, $$
ordered lexicographically. Of course, we could replace $W(n)$ with the set of subsets of $\mathbb N$ of size $n$. Notationally, $W(n)$ is more convenient on occasion.
To see how this is used, I indicate here rather briefly how Haddad and Sabbagh proved that $\omega^2\to(\omega^2,n)^2$ for all $n<\omega$, a result first due to Specker.
We consider a partition of $[W(2)]^2$ into two pieces, $A_0$ and $A_1$ ($A_0$ corresponds to red, and $A_1$ to blue). Use this to partition $[\omega]^4$ into 16 pieces $B_{ijkl}$ where $i,j,k,l\in\{0,1\}$: Given $\{a,b,c,d\}\in[\omega]^4$, with $a<b<c<d$, we put $\{a,b,c,d\}\in B_{ijkl}$ iff
- $\{(a,b),(c,d)\}\in A_i$,
- $\{(a,c),(b,d)\}\in A_j$,
- $\{(a,d),(b,c)\}\in A_k$, and
- $\{(a,b),(a,c)\}\in A_l$.
We now invoke Ramsey's theorem to conclude that there is an infinite $H\subset\omega$ such that all tuples in $[H]^4$ are in the same $B_{ijkl}$. Quickly checking the possibilities for $i,j,k,l$ gives us a monochromatic $I\subset W(2)$ as required: If one of $i,j,k,l$ is $1$, one easily gets $I$ of any finite size we want with $[I]^2$ all blue. If $i,j,k,l$ are all $0$, then we can write $H$ as $\bigcup_n H_n$ where the $H_n$ are infinite and pairwise disjoint, and let $I=\{(x,y)\mid x\in H_0$ and $y\in H_{x+1}$ and $x<y\}$. Then $I$ has type $\omega^2$ as $[I]^2$ is all red.
More sophisticated applications of this idea of conveniently representing $\omega^n$ or $\omega^\omega$ or other indecomposable ordinals can be seen in the work of Jean Larson. See for example Part I of these slides.