
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 <mailto:matthewjwilliams101@gmail.commatthewjwilliams101@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 mailto:Beginners@haskell.orgBeginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners