You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do understand now that this is an intended behavior of executing all three effects and we simply cannot do what I wanted to do with Applicative (we can though with selective functors, https://github.com/kowainik/validation-selective), but I still think the potential risk overweight the usefulness -also just grepp'ed few popular projects (doobie, http4s, fs2) and nobody uses it it seems.
I recently ran into a very dangerous bug thinking
ifM
andifA
have the same semantics. It can be repdocued with:I'd argue that we never ever ever want to use this just with
IO
. But it's not much better (at first glance) with other data types:I do understand now that this is an intended behavior of executing all three effects and we simply cannot do what I wanted to do with
Applicative
(we can though with selective functors, https://github.com/kowainik/validation-selective), but I still think the potential risk overweight the usefulness -also just grepp'ed few popular projects (doobie, http4s, fs2) and nobody uses it it seems.Assuming the decision has been made I can create a PR deprecating it.
The text was updated successfully, but these errors were encountered: