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
Is there any reason for not having a MonadError instance for Kleisli? Since MonadError seems to be simply Monad and ApplicativeError, and Kleisli has instances of both, it seems like it could work. Although prioritizing the instance could be a little tricky, I guess...
The text was updated successfully, but these errors were encountered:
I think we should have a MonadError instance for Kleisli. Prioritizing shouldn't be too tricky. We just need a new layer between the current KleisliInstance and KleisliInstance0 and move ApplicativeError instance there. This probably means that rename all KleisliInstanceN to KleisliInstanceN+1 and name the new layer KleisliInstance0. Care to give a try? :)
Is there any reason for not having a
MonadError
instance forKleisli
? SinceMonadError
seems to be simplyMonad
andApplicativeError
, andKleisli
has instances of both, it seems like it could work. Although prioritizing the instance could be a little tricky, I guess...The text was updated successfully, but these errors were encountered: