Mercurial > emacs
comparison lispref/sequences.texi @ 12067:73dc8205d259
*** empty log message ***
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 05 Jun 1995 12:23:13 +0000 |
parents | 19bd3bfc57de |
children | a6eb5f12b0f3 |
comparison
equal
deleted
inserted
replaced
12066:b9b0b3f96dc2 | 12067:73dc8205d259 |
---|---|
460 (vconcat [A B C] "aa" '(foo (6 7))) | 460 (vconcat [A B C] "aa" '(foo (6 7))) |
461 @result{} [A B C 97 97 foo (6 7)] | 461 @result{} [A B C 97 97 foo (6 7)] |
462 @end group | 462 @end group |
463 @end example | 463 @end example |
464 | 464 |
465 When an argument is an integer (not a sequence of integers), it is | 465 The @code{vconcat} function also allows integers as arguments. It |
466 converted to a string of digits making up the decimal printed | 466 converts them to strings of digits, making up the decimal print |
467 representation of the integer. This special case exists for | 467 representation of the integer, and then uses the strings instead of the |
468 compatibility with Mocklisp, and we don't recommend you take advantage | 468 original integers. @strong{Don't use this feature; we plan to eliminate |
469 of it. If you want to convert an integer to digits in this way, use | 469 it. If you already use this feature, change your programs now!} The |
470 proper way to convert an integer to a decimal number in this way is with | |
470 @code{format} (@pxref{Formatting Strings}) or @code{number-to-string} | 471 @code{format} (@pxref{Formatting Strings}) or @code{number-to-string} |
471 (@pxref{String Conversion}). | 472 (@pxref{String Conversion}). |
472 | 473 |
473 For other concatenation functions, see @code{mapconcat} in @ref{Mapping | 474 For other concatenation functions, see @code{mapconcat} in @ref{Mapping |
474 Functions}, @code{concat} in @ref{Creating Strings}, and @code{append} | 475 Functions}, @code{concat} in @ref{Creating Strings}, and @code{append} |