This is a kinda follow-up question to this question here.
My book (Stewart's Calculus) says that the definition of $$ \lim_{x\to a} f(x) = L $$ is that
Let $f$ be a function defined on some open interval that contains the number $a$, except possibly at $a$ itself. Then we say that the limit of $f(x)$ as $x$ approaches $a$ is $L$, and we write $\lim_{x\to a} f(x) = L$ if for every number $\epsilon > 0$ there is a number $\delta > 0$ such that if $0 < \lvert x - a \rvert < \delta$ then $\lvert f(x) - L\rvert < \epsilon$.
With this definition it wouldn't be true that $\lim_{x\to 0} \sqrt{x} = 0$. But from the earlier question some would say that it is fine to say that $\lim_{x\to 0} \sqrt{x} = 0$ and one doesn't have to use a right hand limit.
My question is how to modify the definition given in my book so that it allows one to say that $\lim_{x\to 0 }\sqrt{x} = 0$.
My suggestion is simply dropping the requirement that the function be defined around $a$.
Defintion: let $D \subset \mathbb R$ non void , $f:D \to \mathbb R$ a function and let $a$ be an accumulation point of $D$. Then $\lim_{x\to a} f(x) = L : \iff$
$\forall \epsilon > 0, \exists \delta > 0: \forall x \in D, 0<|x-a| < \delta \Rightarrow |f(x)-L|<\epsilon$.