Matt,
Start with the Functors chapter of LYAH and continue reading through the chapter on Monads.

Another very good resource is You Could Have Invented Monads.

Arjun


On Sat, Oct 19, 2013 at 5:09 PM, MJ Williams <matthewjwilliams101@gmail.com> wrote:
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.
Sincerely,
Matt


At 21:44 19/10/2013, you wrote:
What do you mean by "action"?

Antoine


On Fri, Oct 18, 2013 at 9:26 PM, MJ Williams < matthewjwilliams101@gmail.com> wrote:
Hello
What are the formal properties of an action?
How does an action differ from a function?
Sincerely,
Matthew

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners