URL paths as function-argument application