Skip to content

Commit

Permalink
Cross-reference juxt and applySpec
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf-romano committed Mar 27, 2016
1 parent 5282dc2 commit ff2d683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/applySpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var values = require('./values');
* @return {Function} A function that returns an object of the same structure
* as `spec', with each property set to the value returned by calling its
* associated function with the supplied arguments.
* @see R.juxt
* @example
*
* var getMetrics = R.applySpec({
Expand Down
1 change: 1 addition & 0 deletions src/juxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var converge = require('./converge');
* @sig [(a, b, ..., m) -> n] -> ((a, b, ..., m) -> [n])
* @param {Array} fns An array of functions
* @return {Function} A function that returns a list of values after applying each of the original `fns` to its parameters.
* @see R.applySpec
* @example
*
* var range = R.juxt([Math.min, Math.max]);
Expand Down

0 comments on commit ff2d683

Please sign in to comment.