[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
(This message will disappear, once this node revised.)
The following operations are defined on A/V lists:
x + y
Addition. The A/V pairs from y are added to x, honoring the respective pairs additivity (see section additivity). For example:
( User-Name = "foo" ) + ( Password = "bar" ) ⇒ ( User-Name = "foo" Password = "bar" ) ( User-Name = "foo" Service-Type = Login-User ) + \ ( Service-Type = Framed-User Password = "bar" ) ⇒ ( User-Name = "foo" \ Service-Type = Framed-User \ Password = "bar" ) |
x - y
Subtraction. The result of this operation is an A/V list consisting of pairs from x, which are not found in y.
( User-Name = "foo" Service-Type = Login-User ) - \ ( Service-Type = Framed-User ) ⇒ ( User-Name = "foo" ) |
Notice, that only attribute name matters, its value is ignored.
x % y
Intersection. The result of this operation is an A/V pair list consisting of pairs from x which are also present in y.
( User-Name = "foo" Service-Type = Login-User ) - \ ( Service-Type = Framed-User ) ⇒ ( Service-Type = Login-User ) |
This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.