News for hackers. Stuff that matters.
Re:Monads as a Programming Pattern by rhizome on Monday August 12, 2019 @02:22PM (#20678307)
>A monad is a type that wraps an object of another type.

So, the Adapter Pattern, but for types?

Re:Monads as a Programming Pattern by Double_Cast on Monday August 12, 2019 @04:48PM (#20679841)
Monadic is a type-class. Like how Equatable is a type-class. Adapters essentially add a specific type to the type-class the client is looking for.