Hi Tomas, > Alex, why does getl return a list of (property-value . property-name) > and not a list of (property-name . property-value)?
There are some practical reasons for representing the elements of property lists in such a way. Most of all, a cell can be passed to functions that expect a variable 'var' argument, like 'set', 'inc', 'pop', and many more. This is also the reason for the property functions 'prop' and '::'. : (put 'A 'counter 0) -> 0 : (put 'A 'list (1 2 3 4)) -> (1 2 3 4) : (with 'A (inc (:: counter))) -> 1 : (pop (prop 'A 'list)) -> 1 : (show 'A) A NIL list (2 3 4) counter 1 -> A Another reason is that a property list could be searched for a given value with 'assoc'. Cheers, - Alex -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]