[Haskell-beginners] pure instead of return?

Francesco Ariis fa-ml at ariis.it
Sat Jul 1 20:03:35 UTC 2017


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.


More information about the Beginners mailing list