I am trying to solve a problem which says:
Let $S \subset \mathbb R^{\mathbb N}$ and let $\{f_n\}_{n \in \mathbb N}$ a sequence of functions $f_n:S \to \mathbb R$ that converges uniformly to a function $f:S \to \mathbb R$. Prove that if $f_n$ is bounded for every $n$, then $f$ is bounded and $f_n$ is uniformly bounded.
I have an extremely basic problem with this exercise: I don't understand how these functions look like. I mean, I am used to work with sequences of functions $f_n:\mathbb R \to \mathbb R$, could someone give me an example of a function $f$ with domain $S$ and codomain $\mathbb R$?. I've interpreted that an element $x$ in the domain is a sequence, so $f:S \to \mathbb R$ would be a function that associates a sequence of real numbers to a real number, am I correct?