《通链参考手册》


Macro REMF

●语法设定:

remf place indicator => generalized-boolean

●参数和值:

place---a place.

indicator---an object.

generalized-boolean---a generalized boolean.

●详情:

remf removes from the property list stored in place a property[1] with a property indicator identical to indicator. If there are multiple properties[1] with the identical key, remf only removes the first such property. remf returns false if no such property was found, or true if a property was found.

The property indicator and the corresponding property value are removed in an undefined order by destructively splicing the property list. remf is permitted to either setf place or to setf any part, car or cdr, of the list structure held by that place.

For information about the evaluation of subforms of place, see Section 5.1.1.1 (Evaluation of Subforms to Places).

●例子:

 (setq x (cons () ())) =>  (NIL)
 (setf (getf (car x) 'prop1) 'val1) =>  VAL1
 (remf (car x) 'prop1) =>  true
 (remf (car x) 'prop1) =>  false

●副作用:

The property list stored in place is modified.

●受制于: 无。

●例外情况: 无。

●更多信息:

remprop, getf

●说明: 无。


X3J13设计清单非标准部分,可查下面章节:


◇首页 § ◎章节目录 § □内容索引 § ○符号索引 § △术语表 § ※设计草案