Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  pure instead of return? (Francesco Ariis)
   2. Re:  pure instead of return? (Silent Leaf)


----------------------------------------------------------------------

Message: 1
Date: Sat, 1 Jul 2017 22:03:35 +0200
From: Francesco Ariis <fa...@ariis.it>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] pure instead of return?
Message-ID: <20170701200335.ga26...@x60s.casa>
Content-Type: text/plain; charset=us-ascii

On Sat, Jul 01, 2017 at 08:18:57PM +0200, Silent Leaf wrote:
> but i can use pure every time return is usable, can i not? every
> applicatives are monads right? i don't get the "if you can" part. why could
> i not?

Say I am contributing to a project, and they use `return`, I am not going
die on the `pure` hill, you just go with what the style is.


------------------------------

Message: 2
Date: Sun, 2 Jul 2017 14:00:16 +0200
From: Silent Leaf <silent.le...@gmail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] pure instead of return?
Message-ID:
        <cagfccjobvgt0s2etswn2txaeqhs+h+iankz326n-otbook+...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

ok, got it; yes you're right. though mind you it's so barely used i'm not
sure it'd really break the style that much. but depends on whoever else is
in the boat.

2017-07-01 22:03 GMT+02:00 Francesco Ariis <fa...@ariis.it>:

> On Sat, Jul 01, 2017 at 08:18:57PM +0200, Silent Leaf wrote:
> > but i can use pure every time return is usable, can i not? every
> > applicatives are monads right? i don't get the "if you can" part. why
> could
> > i not?
>
> Say I am contributing to a project, and they use `return`, I am not going
> die on the `pure` hill, you just go with what the style is.
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20170702/62beb1b0/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 109, Issue 2
*****************************************

Reply via email to