You may be interested to know that Haskell did not always use monads for I/O. This paper describes three alternative, purely functional methods for implementing I/O in Haskell that were used before monads:
http://citeseer.ist.psu.edu/30726.html
It is also important to note that monads not special things wired into the compiler. They are built using normal Haskell code and live in the standard libraries.
It is quite possible to write real programs in Haskell without using any monads. Of course, you would probably just reinvent them without realizing it.
In reply to Re^2: Is it worth using Monads in Perl ? and what the Monads are ?
by Anonymous Monk
in thread Is it worth using Monads in Perl ? and what the Monads are ?
by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |