Google News
logo
Haskell - Interview Questions
Mention what are Monads in Haskell?
A monad in Haskell is just a type for which the >>= operation is defined. Haskell’s I/O is based on Monads.

It’s a specific way of binding operations together or in other words, it’s a way of wrapping things and provide a method to perform operations on the wrapped stuff without unwrapping it.
Advertisement