Let $X,Y$ be topological spaces and $f: X \to Y$. I know that if $X,Y$ are not necessarily first countable (=countable nbhood base) then
''For all sequences $x_n\to x$ in $X$ it's true that $f(x_n) \to f(x)$ in $Y$''
does not imply that $f$ is continuous.
I am trying to find an example of $f,X,Y$ such that for all sequences $x_n\to x$ in $X$ it's true that $f(x_n) \to f(x)$ in $Y$ but $f$ is discontinuous.
My first idea is $X=\mathbb R$ with the usual topology and $Y=\mathbb R$ with the discrete topology and then $f(x) = x$. Then $f$ is not continuous but also $f(x_n) \not\to f(x)$ even if $x_n \to x$. I am trying to think of spaces that do not have countable nhood bases but all I can think of is the discrete topology in an uncountable set.
Could anybody help me with an example?