Y
Hacker News
new
|
ask
|
show
|
jobs
by
rhizome
2508 days ago
>
A monad is a type that wraps an object of another type.
So, the Adapter Pattern, but for types?
1 comments
Double_Cast
2508 days ago
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.
link