OrigArgs | - The original args from a clause head. |
VarArgs | - A list of unique variable names of the same length as OrigArgs. |
NewArgsIn | - Input new args. |
NewArgsOut | - Output new args. |
VarsSeen | - List of variables encountered in original args. |
Counter | - Input counter. |
Goals | - Goals unifying non-variables with the variables replacing them. |