Personally, I think that accumulate is such a good idea and, with the
generalisation, would be so powerful that I hope you will be able to
generalise it. I have two reasons for this view. One is that defquery
(or run-query*) puts fact-fetching on the RHS of the rule and that seems
anomolous. The other reason is that the operations being performed on
the accumulated facts looks (to me, at least) to be much more obvious
that with all of the explicit bindings and iterating when using run-query*.
So I would vote for the generalisation rather than the parser
exception. But even you can't do everything all at once: you and
others might reasonably have higher priorities.
[EMAIL PROTECTED] wrote:
I think Scott Moss wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
The accumulate CE is excellent and a powerful alternative to defquery
for the appropriate purposes. However, it seems only to work for single
facts. If I have a conjunctive clause as the last argument, when I save
from JessDE I get a "jess.group" error. The text file is saved so that
when reading it back into JessDE, the same jess.group error occurs.
Putting the same conjunctive clause in a defquery works as expected. I
am using 7.0 b6 in both Windoews XP and Linux (SuSE 9.3 and 10.0).
Indeed, that's an implementation limitation right now. By the final
release, either this will be generalized, or the parser will recognize
the error condition. Sorry for the inconvenience.
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
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]
--------------------------------------------------------------------
--
Professor Scott Moss
Director
Centre for Policy Modelling
Manchester Metropolitan University
Aytoun Building
Manchester M1 3GH
UNITED KINGDOM
telephone: +44 (0)161 247 3886
mobile: +44 (0)7740 942564
fax: +44 (0)161 247 6802
http://cfpm.org/~scott
--------------------------------------------------------------------
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]
--------------------------------------------------------------------