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
require eq ;;
rule foo (A type) ({x:A} B type) type ;;
rule bar (C type) type ;;
rule foo_bar (A type) ({x:A} B type) :
foo A ({x:A} bar B{x}) ≡ foo A B ;;
eq.add_rule foo_bar ;;
Runtime error: uncaught exception ML.EqualityCheckerException
"cannot make a pattern from a bound type metavariable"
Is it not possible for equality computation rules to dispatch on arguments that bind variables? Is there a theoretical reason for that?
The text was updated successfully, but these errors were encountered:
Was it naive of me to expect this to work?
Is it not possible for equality computation rules to dispatch on arguments that bind variables? Is there a theoretical reason for that?
The text was updated successfully, but these errors were encountered: