I am using a Java example rule for testing via JSR-94.

This matches ...


;; The imported classes (defclass Integer java.lang.Integer nil)

;; The rules
(defrule add-two-integers
  (java.lang.Integer (OBJECT ?i1))
  (java.lang.Integer (OBJECT ?i2&~?i1))


... but this won't ...


;; The imported classes
(defclass Integer java.lang.Integer nil)

;; The rules
(defrule add-two-integers
  (Integer (OBJECT ?i1))
  (Integer (OBJECT ?i2&~?i1))



Is there any way to do a pattern match without using the fully-qualified package name? Some of my packages are quite long.


Thanks,


Ben Tomasini

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------



Reply via email to