I guess they are defining domain in a very general way. So you can say a function $f: \mathbb{R} \rightarrow \mathbb{R}$ is taking values (as a function) in $\mathbb{R}^{\mathbb{R}}$.
Is this a common thing? I read a lot of mathematics (applied generally) and I have not seen this before, at least that I can remember.
