Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials

compare

Synopsis:

(compare list with list)
(compare dict with dict)

Description:

Compare two lists or dictionary and returns true if they are equal and nil otherwise.

Example:

(compare  [1 , 2, 3, 4] 
	 with [2, 2, 3, 4]) --> nil<
(compare  {"a": 56 ,"b" : 2, "c": 3}
	with {"a": 56 ,"b" : 5, "c": 7}) --> nil


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