[Haskell-beginners] can I use "pure" all the time instead of "return" now?

Silent Leaf silent.leaf0 at gmail.com
Sun May 15 15:08:43 UTC 2016

that's great news! Thanks to all your answers :)
Hope the "no return" proposal gets accepted and incorporated!

Le dimanche 15 mai 2016, Marcin Mrotek <marcin.jan.mrotek at gmail.com> a
écrit :
> Hello,
>> If/when Applicative Do drops, would using 'return' force monad semantics
on a do-block that could otherwise be
>> applicative? That's the only thing that comes to mind. Otherwise yeah,
I've been using 'pure' exclusively for a while.
>  I think so, at least until the "Monad of no return" proposal
> (https://ghc.haskell.org/trac/ghc/wiki/Proposal/MonadOfNoReturn)
> lands.
> Best regards,
> Marcin Mrotek
> _______________________________________________
> Beginners mailing list
> Beginners at 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/20160515/e5f3fcf1/attachment.html>

More information about the Beginners mailing list