Find an unbounded subset $A ⊂ \Bbb R$ such that every function from $A$ to a metric space is uniformly continuous.
My attempt at the solution (incomplete).
If $A⊆ \Bbb R$ were such a set, then for each $x_{0} ∈A$ the function $f_{x_{0}}:A→\Bbb R$ defined by $f_{x_{0}}(x)=\{1$,if $x=x_{0}$
$0,if $ x≠x_{0} $
is continuous.
I don't know how to proceed further. Please suggest.