[Haskell-beginners] pure instead of return?

Silent Leaf silent.leaf0 at gmail.com
Sat Jul 1 13:09:31 UTC 2017


hi,

i just wanted to know, if i use pure instead of return, if there's any
single risk of getting a different implementation of the function, or
anything of that kind. also, am i right to assume that GHC will do what is
needed so there's no actual redirection in the compiled code, in the case
pure is defined in terms of return?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170701/a8b929ad/attachment.html>


More information about the Beginners mailing list