Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistently prefixes Functions with '_.' #189

Merged
merged 1 commit into from
Jan 5, 2015
Merged
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
16 changes: 8 additions & 8 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ var nil = _.nil = _global.nil;
* This function is not itself curryable.
*
* @id curry
* @name curry(fn, [*arguments])
* @name _.curry(fn, [*arguments])
* @section Functions
* @param {Function} fn - the function to curry
* @param args.. - any number of arguments to pre-apply to the function
Expand Down Expand Up @@ -219,7 +219,7 @@ _.curry = function (fn /* args... */) {
* This function is not itself curryable.
*
* @id ncurry
* @name ncurry(n, fn, [args...])
* @name _.ncurry(n, fn, [args...])
* @section Functions
* @param {Number} n - the number of arguments to wait for before apply fn
* @param {Function} fn - the function to curry
Expand Down Expand Up @@ -251,7 +251,7 @@ _.ncurry = function (n, fn /* args... */) {
* call of the partially applied function.
*
* @id partial
* @name partial(fn, args...)
* @name _.partial(fn, args...)
* @section Functions
* @param {Function} fn - function to partial apply
* @param args... - the arguments to apply to the function
Expand All @@ -277,7 +277,7 @@ _.partial = function (f /* args... */) {
* works with functions that accept two arguments.
*
* @id flip
* @name flip(fn, [x, y])
* @name _.flip(fn, [x, y])
* @section Functions
* @param {Function} fn - function to flip argument application for
* @param x - parameter to apply to the right hand side of f
Expand All @@ -298,7 +298,7 @@ _.flip = _.curry(function (fn, x, y) { return fn(y, x); });
* function itself.
*
* @id compose
* @name compose(fn1, fn2, ...)
* @name _.compose(fn1, fn2, ...)
* @section Functions
* @api public
*
Expand All @@ -319,7 +319,7 @@ _.compose = function (/*functions...*/) {
* application.
*
* @id seq
* @name seq(fn1, fn2, ...)
* @name _.seq(fn1, fn2, ...)
* @section Functions
* @api public
*
Expand Down Expand Up @@ -3270,8 +3270,8 @@ _.wrapCallback = function (f) {
* @name _.add(a, b)
* @api public
*
* add(1, 2) === 3
* add(1)(5) === 6
* _.add(1, 2) === 3
* _.add(1)(5) === 6
*/

_.add = _.curry(function (a, b) {
Expand Down