Every metric space is separable in function realizability (Logical Methods in Computer Science, 2019)