Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion source/unapply.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import _curry1 from './internal/_curry1.js';
* In other words, `R.unapply` derives a variadic function from a function which
* takes an array. `R.unapply` is the inverse of [`R.apply`](#apply).
*
* **Note:** The result of unapply is not automatically curried.
*
* @func
* @memberOf R
* @since v0.8.0
Expand All @@ -26,7 +28,7 @@ import _curry1 from './internal/_curry1.js';
* @symb R.unapply(f)(a, b) = f([a, b])
*/
var unapply = _curry1(function unapply(fn) {
return function() {
return function () {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change causes a linter error. Could you revert it please?

return fn(Array.prototype.slice.call(arguments, 0));
};
});
Expand Down