I think Jason Morris wrote: > > Hi Ernest, > When you said "by design" did you originally have in mind that doing > so was redundant because one could more easily create nested data > structures with readily available Java objects -- an ArrayList of > ArrayLists for example -- or was there another reason? Did it make > the pattern matching too difficult? Just curious! ;-) >
Short answer: because that's how it works in CLIPS. Longer answer: Jess's data structures couldn't have efficiently accomodated pattern matching of nested lists, so supporting them would have slowed everything down. Remember that creating lots of little objects used to be very expensive in Java. --------------------------------------------------------- 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] --------------------------------------------------------------------
