You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A `reduceRight` function. Take a bunch of things, and combine them into another. The morphism is from "bunch of things" to "another".
701
+
A `reduceRight` function that applies a function against an accumulator and each value of the array (from right-to-left) to reduce it to a single value.
@@ -734,17 +734,22 @@ The combination of anamorphism and catamorphism.
734
734
735
735
### Paramorphism
736
736
737
-
Enhancement of catamorphism. It's like `reduceRight`. However, there's a difference:
737
+
A function just like `reduceRight`. However, there's a difference:
738
738
739
739
In paramorphism, your reducer's arguments are the current value, the reduction of all previous values, and the list of values that formed that reduction.
740
740
741
741
```js
742
742
// Obviously not safe for lists containing `undefined`,
0 commit comments