diff options
Diffstat (limited to 'lib/utils.js')
-rw-r--r-- | lib/utils.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/utils.js b/lib/utils.js index d18e62ee..79039665 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -43,19 +43,6 @@ "use strict"; -function curry(f) { - var args = slice(arguments, 1); - return function() { return f.apply(this, args.concat(slice(arguments))); }; -}; - -function prog1(ret) { - if (ret instanceof Function) - ret = ret(); - for (var i = 1, n = arguments.length; --n > 0; ++i) - arguments[i](); - return ret; -}; - function array_to_hash(a) { var ret = Object.create(null); for (var i = 0; i < a.length; ++i) |