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.

385 numberp<br />

printed representation of the number. If the number<br />

contains fewer characters than min-columns, the number<br />

is right-justified within the array. If the number contains<br />

more characters than min-columns, min-columns is<br />

ignored. An error is signalled if the number contains<br />

more characters than the length of the array minus<br />

at-index. The default is the first position, position o.<br />

The following example puts 23453243 into string starting at character position<br />

5. Since min-columns is 10, the number is preceded by two spaces.<br />

(let «string (make-array 29. :type 'art-string :initia1-va1ue #\X»)<br />

(<strong>zl</strong> :number-into-array string 23453243. 19. 5. 19.)<br />

string)<br />

N<br />

=> "XXXXX 23453243XXXXX"<br />

For a table of related items: See the section "String Access and<br />

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

numberp object Function<br />

numberp returns t if its argument is any kind of number, otherwise nil.<br />

For a table of related items: See the section "Numeric Type-checking<br />

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

numerator rational Function<br />

If rational is a ratio, numerator returns the numerator of rational. If rational<br />

is an integer, numerator returns rational.<br />

Examples:<br />

(numerator 4/5) => 4<br />

(numerator 3) => 3<br />

(numerator 4/8) => 1<br />

Related Functions:<br />

denominator<br />

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

From a Rational Number" in Symbolics Common Lisp: Language<br />

Concepts.<br />

nunion listl list2 &key (test #'eqI) test-not (key #'identity) Function<br />

nunion is the destructive version of union union takes two lists and<br />

returns a new list containing everything that is an element of either of the<br />

lists. nunion performs the same operation, but it destroys the values of<br />

the list arguments. The keywords are:

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

Saved successfully!

Ooh no, something went wrong!