This is not a stupid question, but the answer is no, it's not directly
supported by the language.
Now, in Jess 6, you -can- actually store the result of binding a fact
to a variable into a slot on another fact, and the reference will
remain good even if that other fact is modified. You just can't
pattern-match on this nested fact; you'd have to use explicit
fact-slot-value calls on the rule's RHS to work with it.
I think Fred Freitas wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello,
>
> Maybe this is a stupid question, but anyway...
>
> Is it possible to specify slots of deftemplates as instances of other
> deftemplates ? If it's possible how can it be done?
>
> Thanx in advance,
>
> Fred Freitas
> ----------------------------------------------------------
> PhD. student - Artificial Intelligence & Internet
> Universidade Federal de Santa Catarina
> Under supervision of Prof. Guilherme Bittencourt
> Currently at University of Karlsruhe - Germany
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
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]
---------------------------------------------------------------------