{"size": 1366, "ext": "js", "max_stars_repo_path": "node_modules/ggit/node_modules/ramda/src/rPartial.js", "max_stars_repo_name": "VPBelo/EODB_TEST_SCRIPT", "max_stars_repo_stars_event_min_datetime": "2019-04-15T16:35:11.000Z", "max_stars_repo_stars_event_max_datetime": "2019-04-15T16:35:11.000Z", "max_issues_repo_path": "node_modules/ggit/node_modules/ramda/src/rPartial.js", "max_issues_repo_name": "VPBelo/EODB_TEST_SCRIPT", "max_issues_repo_issues_event_min_datetime": "2020-04-05T21:26:41.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-11T01:26:31.000Z", "max_forks_repo_path": "node_modules/ggit/node_modules/ramda/src/rPartial.js", "max_forks_repo_name": "gururajhm/cypress-phptravels", "max_forks_repo_forks_event_min_datetime": "2022-02-28T18:41:43.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-28T18:41:43.000Z"}
{"max_stars_count": 1, "max_issues_count": 10, "max_forks_count": 1, "avg_line_length": 42.6875, "max_line_length": 94, "alphanum_fraction": 0.6361639824}
var _concat = require('./internal/_concat');
var _createPartialApplicator = require('./internal/_createPartialApplicator');
var flip = require('./flip');


/**
 * Accepts as its arguments a function and any number of values and returns a function that,
 * when invoked, calls the original function with all of the values appended to the original
 * function's arguments list.
 *
 * Note that `rPartial` is the opposite of `lPartial`: `rPartial` fills `fn`'s arguments
 * from the right to the left.  In some libraries this function is named `applyRight`.
 *
 * @func
 * @memberOf R
 * @category Function
 * @sig (a -> b-> ... -> i -> j -> ... -> m -> n) -> j -> ... -> m -> n -> (a -> b-> ... -> i)
 * @param {Function} fn The function to invoke.
 * @param {...*} [args] Arguments to append to `fn` when the returned function is invoked.
 * @return {Function} A new function wrapping `fn`. When invoked, it will call `fn` with
 *         `args` appended to `fn`'s arguments list.
 * @example
 *
 *      var greet = function(salutation, title, firstName, lastName) {
 *        return salutation + ', ' + title + ' ' + firstName + ' ' + lastName + '!';
 *      };
 *      var greetMsJaneJones = R.rPartial(greet, 'Ms.', 'Jane', 'Jones');
 *
 *      greetMsJaneJones('Hello'); //=> 'Hello, Ms. Jane Jones!'
 */
module.exports = _createPartialApplicator(flip(_concat));
