Not a bug. The manual (section 8.82) quite clearly says that intersection$ only accepts two arguments. Like many built-in Jess functions, it ignores any extra arguments. This behavior is documented in the last sentence of the second paragraph of chapter 8.
I think Fabien Delorme wrote: > Hi. > > I guess I've found a bug in the built-in function intersection$. This > information should interest people who do not want to lose hours and > hours debugging a correct program. > > (intersection$ (create$ dudu) (create$ dudu titi toto) (create$ titi > toto)) > this evaluates to (dudu), which is incorrect (it should evaluate to () ). > > > -- > Fabien Delorme > --------------------------------------------------------- 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] --------------------------------------------------------------------
