{"size": 535, "ext": "js", "max_stars_repo_path": "lib/mod-args.js", "max_stars_repo_name": "TheLudd/unary", "max_stars_repo_stars_event_min_datetime": "2020-11-24T10:03:40.000Z", "max_stars_repo_stars_event_max_datetime": "2020-11-24T10:03:40.000Z", "max_issues_repo_path": "lib/mod-args.js", "max_issues_repo_name": "TheLudd/unary", "max_issues_repo_issues_event_min_datetime": "2018-06-19T09:48:21.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T10:00:50.000Z", "max_forks_repo_path": "lib/mod-args.js", "max_forks_repo_name": "TheLudd/unary", "max_forks_repo_forks_event_min_datetime": "2020-11-30T14:09:32.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-19T19:53:50.000Z"}
{"max_stars_count": 1, "max_issues_count": 6, "max_forks_count": 2, "avg_line_length": 29.7222222222, "max_line_length": 64, "alphanum_fraction": 0.7102803738}
import curry from './curry'
export default curry(_modArgs)

/**
 * Call a binary function after the arguments have been modified
 * by separate transform functions.
 *
 * @function modArgs
 * @arg f {function} A binary function
 * @arg g {function} Transform function for the first argument
 * @arg h {function} Transform function for the second argument
 * @arg x {any} The first agument to the binary function
 * @arg y {any} The second agument to the binary function
 */
function _modArgs (f, g, h, x, y) {
  return f(g(x), h(y))
}
