In Switzer's book, it is defined (in page 3):
The exponential law: if $X, Z$ are Hausdorff spaces and $Z$ is locally compact, then the natural function $$E:Y^{Z\times X}\to (Y^Z)^X$$ defined by $(Ef(x))(z)=f(z,x)$ is a homeomorphism.
I am a bit puzzled by "$(Ef(x))(z)=f(z,x)$", as it does not seem to make sense with $E:Y^{Z\times X}\to (Y^Z)^X$.
Since $Y^{Z\times X}$ is the set of maps $f: Z\times X\to Y$, shouldn't $E$ take in a function $f:Z\times X\to Y$, and produce a function $g: X\to Y^Z$?
Secondly, in the definition, firstly $f$ is a single variable function of $x$ and then later $f$ is a 2-variable function of $(z,x)$ which confuses me.
Thanks for any help!
