Let $K$ be a field, $S$ an arbitrary set, and $K^S$ denote the vector space of functions from $S$ to $K$. What is the dimension of this space?
By dimension, I mean the cardinality of a Hamel basis. I think the answer can only depend on $|S|$ and $|K|$. I am also assuming the axiom of choice, thus the question makes sense.