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
In strategies/matching.md, there are two rules for the same case:
// ground variable: mismatched
rule #matchAssoc( terms: T, Ts
, pattern: P:Variable, Ps
, variables: Vs
, subst: SUBST
, rest: REST
)
=> #matchFailure("Variable does not match"), .MatchResults
requires T =/=K P
andBool notBool P in Vs
and
// ground variable: non-identical
rule #matchAssoc( terms: T, Ts
, pattern: P:Variable, Ps
, variables: Vs
, subst: _
, rest: REST
)
=> #matchFailure( "No valid substitution" ), .MatchResults
requires T =/=K P
andBool notBool P in Vs
. Since syntacticMatch from utils/syntactic-match.md originated as a copy of #matchAssoc, the duplication is also there.
The text was updated successfully, but these errors were encountered:
In
strategies/matching.md
, there are two rules for the same case:and
. Since
syntacticMatch
fromutils/syntactic-match.md
originated as a copy of#matchAssoc
, the duplication is also there.The text was updated successfully, but these errors were encountered: