3 ms·
Isn't every monad a state monad?
by loa_in_ 2y ago
Isn't every monad a state monad?
- RandomThoughts3 2y agoNot at all. A monad is just a type constructor and two functions respecting some rules. It can be widely different from the State monad ranging from useful (Option) to completely weird (the naive list monad) to doing nothing (identity monad).