On the following answer the user takes $\mathbb{R}^2$ as a metric space with the metric defined as: $$\delta(A,B)=\begin{cases} |A|+|B|, & \text{if $A\neq \lambda B$} \\ |A-B|, & \text{if $A= \lambda B$ for some $\lambda$} \end{cases}$$
I am confused with this definition. If we are in $\mathbb{R}^2$ then $A$ and $B$ are ordered pairs. What does $|A| + |B|$ mean in this case? Metric should return a real number and this is summarizing ordered pairs? Also he mentions that this second case of the function $|A - B|$ is the usual Euclidean distance. It would be in $\mathbb{R}^1$, but not in $\mathbb{R}^2$.
Can somebody please clear this up?