|
|
|
|
|
by crimsonalucard
2435 days ago
|
|
You can have monads in any language. If you have a functor you have a monad. If you have a type that wraps or encodes another type in a lossless or lossy way you have a functor. Therefore a functor exists in any language with compound types therefore every language that has compound types has monads. The difference is Haskell makes these concepts explicit. |
|
Does Haskell have the keyword "monad"?
Does Haskell have support for ensuring that monadic laws hold for any prospective monad?