News for hackers. Stuff that matters.
Re:A monad is a monoid in the category of endofunctors, what... by mlevental on Sunday February 10, 2019 @11:22AM (#19128379)
Union/sum types don't combine things though? you can only have ever one variant at a time. it's a misnomer. monads and monoids combine things in the sense of joining them. e.g. lists are a monoid because you can concatenate (they're also a monad for the same reason).

There are no comments on this comment yet.