<div dir="ltr">Matt,<br>Start with the <a href="http://learnyouahaskell.com/functors-applicative-functors-and-monoids">Functors</a> chapter of LYAH and continue reading through the chapter on <a href="http://learnyouahaskell.com/a-fistful-of-monads">Monads.</a><br>

<br>Another very good resource is <a href="http://blog.sigfpe.com/2006/08/you-could-have-invented-monads-and.html">You Could Have Invented Monads</a>.<br><br>Arjun<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Sat, Oct 19, 2013 at 5:09 PM, MJ Williams <span dir="ltr"><<a href="mailto:matthewjwilliams101@gmail.com" target="_blank">matthewjwilliams101@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>
For example, `main = do input <- getLine ...', where `getLine' is an
action as distinguished from a function such as `main'.  Other
examples of actions in Haskell include `print', `putStrLn' and any
process that reads from or writes to a file. Of course, the list of
actions doesn't end there, though the examples here should answer your
question.<br>
Sincerely,<br>
Matt<div><div class="h5"><br><br>
At 21:44 19/10/2013, you wrote:<br>
<blockquote type="cite">What do you mean by
"action"?<br><br>
Antoine<br><br>
<br>
On Fri, Oct 18, 2013 at 9:26 PM, MJ Williams
<<a href="mailto:matthewjwilliams101@gmail.com" target="_blank">
matthewjwilliams101@gmail.com</a>> wrote:<br>

<dl>
<dd>Hello<br>

</dd><dd>What are the formal properties of an action?<br>

</dd><dd>How does an action differ from a function?<br>

</dd><dd>Sincerely,<br>

</dd><dd>Matthew<br><br>

</dd><dd>_______________________________________________<br>

</dd><dd>Beginners mailing list<br>

</dd><dd><a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>

</dd><dd>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">
http://www.haskell.org/mailman/listinfo/beginners</a><br><br>

</dd></dl><br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">
http://www.haskell.org/mailman/listinfo/beginners</a></blockquote></div></div></div>

<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>