Skip to content

Commit a49a701

Browse files
ivanzuskoCrossEye
authored andcommitted
fix examples so REPL won't break (#186)
1 parent 9e3427d commit a49a701

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

0.24.1/docs/dist/ramda.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3753,15 +3753,15 @@
37533753
* @example
37543754
*
37553755
* R.reduceRight(R.subtract, 0, [1, 2, 3, 4]) // => (1 - (2 - (3 - (4 - 0)))) = -2
3756-
* - -2
3757-
* / \ / \
3758-
* 1 - 1 3
3759-
* / \ / \
3760-
* 2 - ==> 2 -1
3761-
* / \ / \
3762-
* 3 - 3 4
3763-
* / \ / \
3764-
* 4 0 4 0
3756+
* // - -2
3757+
* // / \ / \
3758+
* // 1 - 1 3
3759+
* // / \ / \
3760+
* // 2 - ==> 2 -1
3761+
* // / \ / \
3762+
* // 3 - 3 4
3763+
* // / \ / \
3764+
* // 4 0 4 0
37653765
*
37663766
* @symb R.reduceRight(f, a, [b, c, d]) = f(b, f(c, f(d, a)))
37673767
*/
@@ -6568,15 +6568,15 @@
65686568
* @example
65696569
*
65706570
* R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10
6571-
* - -10
6572-
* / \ / \
6573-
* - 4 -6 4
6574-
* / \ / \
6575-
* - 3 ==> -3 3
6576-
* / \ / \
6577-
* - 2 -1 2
6578-
* / \ / \
6579-
* 0 1 0 1
6571+
* // - -10
6572+
* // / \ / \
6573+
* // - 4 -6 4
6574+
* // / \ / \
6575+
* // - 3 ==> -3 3
6576+
* // / \ / \
6577+
* // - 2 -1 2
6578+
* // / \ / \
6579+
* // 0 1 0 1
65806580
*
65816581
* @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)
65826582
*/

0 commit comments

Comments
 (0)