[Haskell-cafe] Usage of `pure`
simon.jakobi at googlemail.com
Thu Jun 7 12:20:13 UTC 2018
in case you're using -Wredundant-constraints, you might get some
warnings that a function that previously required Monad, now only
2018-06-07 13:21 GMT+02:00 PY <aquagnu at gmail.com>:
> Hello, Dear Cafe!
> 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.
> Best regards, Paul
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
More information about the Haskell-Cafe