I think one should be more liberal w.r to the usage of wildcards as long as they are explicit.
For instance the rule A(x[_]),B() -> A(x[#]),. or alternatively A(x[_/#]),B()- makes total sense.
Wildcards on the rhs read as "I don't care if the information is preserved"
I think one should be more liberal w.r to the usage of wildcards as long as they are explicit. For instance the rule
A(x[_]),B() -> A(x[#]),.
or alternativelyA(x[_/#]),B()-
makes total sense. Wildcards on the rhs read as "I don't care if the information is preserved"