For $x,y \in \{0,1\}^n$, let $x \oplus y$ be the element of $\{0,1\}^n$ obtained by the component-wise exclusive or of $x$ and $y$. A boolean function $F:\{0,1\}^n \to \{0,1\}$ is said to be linear if $F(x \oplus y) = F(x) \oplus F(y)$, for all $x$ and $y$.
Find the number of linear functions from $\{0,1\}^n$ to $\{0,1\}$.
The abscissa can take $2^n$ values and the ordinate can be $0$ or $1$ for each value of abscissa. So, the number of linear functions should be $2^{2^n}$, but the answer is $2^n$?