3 ms·
What do you mean by "Monads are too restrictive"? Do you mean that not having free side-effects of any kind anywhere is too restrictive?
by Peaker 15y ago
What do you mean by "Monads are too restrictive"?
Do you mean that not having free side-effects of any kind anywhere is too restrictive?
- rapala 15y agoI found that odd too. In Haskell you have to use monads only for I/O, and for that IMO they are a fine abstraction. (Monads are a fine abstraction to many other things too that have a lot less to do with side-effects.) You are free to use other more general/specialized abstractions in every other part of your code.