> I think Steven Goncalo wrote: > > Some nitpicking about the docs follows.
If you'll allow me to summarize: "The documentation for deftemplate and defclass is incomplete if not flat-out wrong. It ought to be completely rewritten, with an eye towards discussing their current similarities and differences, and all their features." I'd buy that for a dollar. I will make sure this gets done ASAP. > I know I can use a definstance in the RHS of a rule, so it is a true > function rather than a construct. Is the same true of defclass, or is it > a thin function that ultimately invokes a deftemplate construct? If I > directly use a deftemplate construct to get only the limited > functionality of a defclass function, can it be used on the RHS of a > rule? I suspect this may be an exception to the "anything you can do > using the defclass function" claim above. Defclass is also a function, although it does indeed create deftemplates. There's nothing wrong with creating a deftemplate on the RHS of a rule -- you can do it with "(eval)", for example -- it's just that it can't be *parsed* there. No, regardless of what you use it for, a deftemplate can't appear directly on the RHS of a rule. --------------------------------------------------------- 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] --------------------------------------------------------------------
