PROS interview question

how to curry a function