Let $(X,d)$ be a metric space and $(a_n)$ be a sequence of distinct points in $ X$ such that each $a_n$ is a limit point of $X$. If $U_n$ 's are mutually disjoint open neighbourhoods of $a_n$ in $X$. Then the function $f:X→R$ given by $f(x)=\frac{d(x,A_n)}{n(d(x,A_n)+d(x,b_n))}$ if $x∈\overline{U_n}$ for some $n$ ;$f(x)=0$ otherwise where $A_n={a_n}∪(\overline{U_n}−U_n)$ and $b_n$ is point in $U_n$ different from $a_n$.
S. Nadler in his paper POINTWISE PRODUCTS OF UNIFORMLY CONTINUOUS FUNCTIONS SARAJEVO JOURNAL OF MATHEMATICS Vol.1 (13) (2005), 117–127 (Theorem 4.2) constructed this function and said that it is a uniformly continuous function, which I am not able to verify. I think without some extra conditions on the sets Un's it wont be possible to prove the uniform continuity of this function (as we do not have nice pasting lemma for uniformly continuous functions as for continuous fucntions). Please comment.(Actually, the paper does not show explicitly that the function is uniformly continuous. see the last line on page 121' it follows easily that f is uniformly continuous on all of X.' but it does not seem to be easy with the information provided by the author of the paper.I am having problem in finding suitable delta for overlapping parts of $\overline{U_n}$ and $\overline{U_m}$)