A subset of X can be viewed as injection $f :S \rightarrow X$, where $S$ is a structure whose only relation is equality.
If we allow $f$ to be an arbitrary function, we get the notion of a multiset.
If we furthermore assert that $S$ is a well-ordered set, we get the notion of a sequence in $X$ (potentially transfinite).
Question: is it possible to model the notion of a subcollection $\mathcal{K} \subseteq \mathcal P(X)$ as a function $f:S \rightarrow X$?