interpolation utility, FP-style --- test coverage