|
|
|
|
|
by japgolly
78 days ago
|
|
I assume the author is talking about `fold`, as in `[A] -> B -> ((B,A) -> B) -> B`, and not what I often think of as reduce as `[A] -> ((A,A) -> A) -> A`. `fold` is awesome and super useful. It's the easiest and most convenient way to turn a collection into a single value. Put me anecdotally in the opposite bucket. |
|
The fact that you wrote this comment with Hindley-Milner-ish notation already makes your an outlier.