I found the following proof to be constructive:
- There is a bijection from $[0,1]$ to $(0,1]$. Have $0\mapsto \frac12, \frac12\mapsto\frac23,\frac23\mapsto\frac34,$ and so on. That takes care of $\left\{0, \frac12, \frac23, \frac34,\ldots\right\}$. For any other $x$, just map $x\mapsto x$.
This is from https://math.stackexchange.com/a/183383/1125430 .
However, it seems to be using the law of excluded middle $x\in \left\{0, \frac12, \frac23, \frac34,\ldots\right\}\vee x\notin \left\{0, \frac12, \frac23, \frac34,\ldots\right\}$ to define the function.
Is the above proof constructive?