Skip to content

Commit

Permalink
remove erroneous quotes in tryCatch documentation (#2765)
Browse files Browse the repository at this point in the history
This was breaking the repl with:
`R.tryCatch(...)(...) is not a function`
  • Loading branch information
willheslam authored and CrossEye committed Jan 18, 2019
1 parent ce4f936 commit 38feed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tryCatch.js
Expand Up @@ -23,7 +23,7 @@ import _curry2 from './internal/_curry2';
* R.tryCatch(R.prop('x'), R.F)({x: true}); //=> true
* R.tryCatch(() => { throw 'foo'}, R.always('catched'))('bar') // => 'catched'
* R.tryCatch(R.times(R.identity), R.always([]))('s') // => []
`` */
*/
var tryCatch = _curry2(function _tryCatch(tryer, catcher) {
return _arity(tryer.length, function() {
try {
Expand Down

0 comments on commit 38feed2

Please sign in to comment.