Next: , Previous: , Up: syslib symbols   [Index]


12.2.5 Property lists

Unsafe Operation: $symbol-plist sym
Unsafe Operation: $set-symbol-plist! sym ell

Accessor and mutator for the field plist of symbol objects.

Unsafe Operation: $putprop symbol key value

Add a new property key with value to the property list of symbol. key must be a symbol, value can be any value.

If key is already set: the old entry is mutated to reference the new value.

Unsafe Operation: $getprop symbol key

Return the value of the property key in the property list of symbol; if key is not set return false. key must be a symbol.

Unsafe Operation: $remprop symbol key

Remove property key from the list associated to symbol.

Unsafe Operation: $property-list symbol

Return a new association list representing the property list of symbol. The order of the entries is the same as the property creation order.