From f8aa6700f28ce821841b761515544f6377cec1bb Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Wed, 13 Mar 2013 11:04:24 +0100 Subject: [PATCH] fix comment describing rcurry --- functional.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functional.js b/functional.js index 4baa22b..7914e2e 100644 --- a/functional.js +++ b/functional.js @@ -458,7 +458,7 @@ Function.prototype.curry = function(/*args...*/) { /* * Right curry. Returns a function that, applied to an argument list $args2$, * applies the underlying function to $args2 + args$. - * == f.curry(args1...)(args2...) == f(args2..., args1...) + * == f.rcurry(args1...)(args2...) == f(args2..., args1...) * :: (a... b... -> c) b... -> (a... -> c) */ Function.prototype.rcurry = function(/*args...*/) {