On Jan 29, 2008, at 12:42 PM, D Moon wrote:
I thought of something like binding the singleton fact to a
defglobal, but I think that fails due to modify being a retraction-
assertion, which I believe would break a prior binding.
Comments, suggestions, criticisms?
No, that's the solution right there. The same object gets re-
asserted, so the binding doesn't get broken. Once a fact is asserted
in Jess, it's always represented by the same Java object, and its
numeric ID remains unchanged; both of these bits of info are useful
when building up structures out of facts.
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------