I am trying to name what I think is a new idea for a higher-order function. To the important part, here is the code in Python and Haskell to demonstrate the concept, which will
This reminds me of convolution from image processing. But not sure if this is mathematically correct.