interpolation utility, FP-style