Dataminr interview question

Implement lodash curry