Skillz interview question

Q: Implement a functional programming concept (i.e. currying).