Partially applied function and Currying. Added even more comment that explains things