Let $(X,\tau)$ be a Hausdorff space such that for every non-empty $A\subseteq X$ there is a continuous map $r:X\to A$ such that $r(a) = a$ for all $a\in A$. Does $\tau$ have to be discrete?
1 Answer
$\begingroup$
$\endgroup$
Since a retract of a Hausdorff space is closed, such a space must be discrete.