How to do defmatch without using matchdeclare? defmatch(anyname, x(i, l)*x(j, k))$ anyname(x(a,b)*x(c, d)) returns false always
Subject: How to do defmatch without using matchdeclare? defmatch(anyname, x(i, l)*x(j, k))$ anyname(x(a,b)*x(c, d)) returns false always
From: Richard Fateman
Date: Mon, 06 Feb 2006 10:45:41 -0800
try apply(matchdeclare, [tmplist,all] );
be sure to have the [] there.
dp2 at cise.ufl.edu wrote:
>Thanks Robert,
>There is small glitch I am facing. If I am passing a variable containing
>list to the matchdeclare, the rule doesnt work.
>e.g.
>tmplist: [a, b, c, d, e];
>matchdeclare (tmplist, all);
>.....
>
>
>
>