[Haskell-beginners] Actions v. Functions
Arjun Comar
nrujac at gmail.com
Sat Oct 19 22:10:18 UTC 2013
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 at 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 at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20131019/7b811485/attachment.html>
More information about the Beginners
mailing list