Where is the initial value of reduce ?
Danielo Rodríguez
1

If you omit the initial value, it uses the first value in the array. Every value you pass should be a type-lifting function, `a => M(a)`, that returns a monad of the expected type (read, “has the correct chain method”).

Please share the code you’re testing, what you expected to happen, and what actually happened.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.