Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials



(equal? element1 element2) 


Returns non nil if the the two elements are equals. Lists containing the same elements but in different order will return nil. If you need to check if two list contains the same elements but you don't care about the ordering use compare.


(equal? [1,2,3] [1,2,3]) --> non nil
(equal? [1,2,3] [1,3,2]) --> nil
(equal? "house" "house") --> non nil

Contact: Fulvio Frapolli (fulvio . frapolli //at// unifr . ch), Amos Brocco (amos . brocco //at// unifr . ch)
* Remove spaces and replace //at// with @
© 2009