Matt, Start with the Functors<http://learnyouahaskell.com/functors-applicative-functors-and-monoids>chapter of LYAH and continue reading through the chapter on Monads. <http://learnyouahaskell.com/a-fistful-of-monads> Another very good resource is You Could Have Invented Monads<http://blog.sigfpe.com/2006/08/you-could-have-invented-monads-and.html> . 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