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
So while I agree that this would be nice, but should we only do this because Bool is not recursive? What criteria can we have, another could be that < _ > commutes with case, but I'm not entirely sure we can just add that and still have the equality be transitive and congurent (I'm not sure what would break or if we even have that now).
A similar situation is, f (case x { true -> e , false -> e' }), which could be equal to case x { true -> f e , false -> f e' }.
Consider the following:
This is rejected so far but I wish we accept by checking that setting x to
true and
false leads to the resulting terms to be equivalent.The text was updated successfully, but these errors were encountered: