[Haskell-cafe] Usage of `pure`

Francesco Ariis fa-ml at ariis.it
Thu Jun 7 12:10:04 UTC 2018


On Thu, Jun 07, 2018 at 02:21:09PM +0300, PY wrote:
> Consider, I have big application with monad and applicative related code.
> What problems I can hit if I will replace all `return`s with `pure` (in
> `do`-blocks, anywhere). So, `return` will be totally eliminated.

Hello Paul,
    that might be a problem only if you need to support the (very very
old) GHC 7.8 (or previous versions)
-F


More information about the Haskell-Cafe mailing list