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
#693 and #687 refer to Strong and Weak Laws for MonadFilter/MonadCombine. In #687 the MonadCombine instance for XorT was commented out as it was unused. It was unused due to the fact that the MonadCombine instance for XorT could not meet some of the laws for MonadFilter, namely: right absorbtion, right distributivity, and left distributivity. #693 will make a similar change for OptionT and reduce the available instance from MonadCombine to Monad.
It is suggested that these need to be separated out into Weak and Strong Laws, at which point an instance, supporting the appropriate weaker laws, can be reinstated for both XorT and OptionT.
The text was updated successfully, but these errors were encountered:
#693 and #687 refer to Strong and Weak Laws for
MonadFilter
/MonadCombine
. In #687 theMonadCombine
instance forXorT
was commented out as it was unused. It was unused due to the fact that theMonadCombine
instance forXorT
could not meet some of the laws forMonadFilter
, namely: right absorbtion, right distributivity, and left distributivity. #693 will make a similar change forOptionT
and reduce the available instance fromMonadCombine
toMonad
.It is suggested that these need to be separated out into Weak and Strong Laws, at which point an instance, supporting the appropriate weaker laws, can be reinstated for both
XorT
andOptionT
.The text was updated successfully, but these errors were encountered: