3 ms·
> If anything, .flat() is the aberration. Same as `flatmap` (`bind`), `flat` is 'part' of a monad (as `join`).
by ReleaseCandidat 5y ago
> If anything, .flat() is the aberration.
Same as `flatmap` (`bind`), `flat` is 'part' of a monad (as `join`).
- beaconstudios 5y agogood point, I didn't think of that equivalence.