From 1690c06867d0733915742a9dd6989d770ca86390 Mon Sep 17 00:00:00 2001 From: Joe Hanink Date: Wed, 2 Oct 2013 15:52:33 -0700 Subject: [PATCH] Update Angular.js the bind function reflects the definition of "partial application", which reduces a function's arity rather than transforming a function with n args into a chain of n functions, each having a single arg. curry : f(x,y,z) -> f(x)(y)(z) partial application : f(x,y,z) -> f(x)(y,z) --- src/Angular.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Angular.js b/src/Angular.js index efb115265506..9003b960c3d3 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -786,7 +786,8 @@ function sliceArgs(args, startIndex) { * @description * Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for * `fn`). You can supply optional `args` that are prebound to the function. This feature is also - * known as [function currying](http://en.wikipedia.org/wiki/Currying). + * known as [partial application](http://en.wikipedia.org/wiki/Partial_application), as distinguished + * from [function currying](http://en.wikipedia.org/wiki/Currying). * * @param {Object} self Context which `fn` should be evaluated in. * @param {function()} fn Function to be bound.