17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>zl</strong>:remprop<br />

446<br />

(color blue near-to bar)<br />

If plist has no indicator-property, then remprop has no side-effect and<br />

returns nil.<br />

I<br />

<strong>zl</strong>:remprop plist indicator Function<br />

This removes plist's indicator property, by splicing it out of the property<br />

list. It returns that portion of the list inside plist of which the former<br />

indicator-property was the car. The car of what <strong>zl</strong>:remprop returns is<br />

what <strong>zl</strong>:get would have returned with the same arguments. If plist is a<br />

symbol, the symbol's associated property list is used. For example, if the<br />

property list of foo was:<br />

then:<br />

(color blue height six-three near-to bar)<br />

(<strong>zl</strong>:remprop 'faa 'height) => (six-three near-to bar)<br />

and foo's property list would be:<br />

(color blue near-to bar)<br />

If plist has no indicator-property, then <strong>zl</strong>:remprop has no side-effect and<br />

returns nil.<br />

For a table of related items: See the section "Functions That Operate on<br />

Property Lists" in Symbolics Common Lisp: Language Concepts.<br />

<strong>zl</strong>:remq item list &optional n Function<br />

(<strong>zl</strong>:remq item list) returns a copy of list with all occurrences of item<br />

removed. eq is used for the comparison. <strong>zl</strong>:remq is the non-destructive<br />

version of <strong>zl</strong>:delq. Examples:<br />

(setq x '(a b c d e f»<br />

(<strong>zl</strong> :remq 'b x) => (a c d e f)<br />

x => (a b c d e f)<br />

(<strong>zl</strong> :remq ~b '(a b c b a b) 2) => (a c a b)<br />

i[n] instances of item are deleted. n is allowed to be zero. If n is greater<br />

than or equal to the number of occurrences of item in the list, all occurrences<br />

of item in the list are deleted.<br />

For a table of related items: See the section "Functions for Modifying<br />

Lis~s" in Symbolics Common Lisp: Language Concepts.<br />

flavor:rename-instance-variable flavor-name old new Function<br />

Renames an instance variable old to a new name new for the given<br />

flavor-name. When this is done, the value of the old instance variable is<br />

carried over to the new instance variable. Any old instances are updated to

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!