<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">I made this mistake myself at first too. It seems that the Monad = "side effect machine" error is common to Haskell newbies. Probably to do with the fact that the first thing every programmer wants to do is write a hello world program and for that you need the IO Monad which requires some explanation of how a Monad can allow for side effects (at least the IO Monad). - Greg<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: peterv <bf3@telenet.be><br>To: Kim-Ee Yeoh <a.biurvOir4@asuhan.com>; haskell-cafe@haskell.org<br>Sent: Monday, August 13, 2007 10:31:48 AM<br>Subject: RE: [Haskell-cafe] Explaining
monads<br><br><div><br>Ronald Guida wrote:<br>> <br>> Given the question "What is a Monad", I would have to say "A Monad is<br>> a device for sequencing side-effects."<br>> <br><br>There are side-effects and there are side-effects. If the only<br>monad you use is Maybe, the only side-effect you get is a slight<br>warming of the CPU.<br><br>....<br><br>"Side-effects" is a piece of linguistic cruft played fast-and-loose<br>by too many people in this game. "Sequencing" suffers the same <br>disease.<br><br> </div></div></div></div><br>
<hr size=1>Choose the right car based on your needs.
Check out <a href="http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg-- ">Yahoo! Autos new Car Finder tool.</a>
</body></html>