You need not worry about the object fields you don't care about when
matching the unit fact in a rule. By definition, only slots used in the
pattern matter; all others are literally don't care.
-W
On 11 November 2011 04:57, Hunter McMillen mcmil...@gmail.com wrote:
Hi everyone,
I am trying
This is what I thought it should be so I was confused when my rule wasn't
firing. Thank you for your response. Somehow magically this morning the
rule is firing as it should be. Ill attribute that to you :)
Thanks
On Fri, Nov 11, 2011 at 12:47 AM, Wolfgang Laun wolfgang.l...@gmail.comwrote:
Hi everyone,
I am trying to match the lhs of a rule using a template that has 112 slots
that is defined from a Java class.
Here is the template definition (from show-deftemplates):
(deftemplate MAIN::unit
$JAVA-OBJECT$ eisbot.proxy.model.Unit
(declare (from-class