Let $U,V,W$ be vector spaces over same field $F$. Let $Hom(-,-)$ denote set of $F$-linear maps from domain to co-domain. I was thinking on following isomorphism if it is true!
$${\rm Hom}(U, {\rm Hom}(V,W)\cong {\rm Hom}({\rm Hom}(U,V), W)$$
If all vector spaces are finite dimensional then the isomorphism holds just by comparison of dimension. But, here I want to know whether there is a natural isomorphism above. Also, if we replace vector spaces by modules over same commutative ring with $1$ then still this isomorphism is valid?
(I am beginning undergraduate, and I have no ideas of above type of problems.)