help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELISP] How do you turn an array of chars into a string?


From: Pascal J. Bourguignon
Subject: Re: [ELISP] How do you turn an array of chars into a string?
Date: Wed, 08 Dec 2010 15:22:24 -0000
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.2 (gnu/linux)

Johan Bockgård <bojohan+news@gnu.org> writes:

> pjb@informatimago.com (Pascal J. Bourguignon) writes:
>
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>
>>> A string *is* an array of chars.
>>
>> Not in scheme or emacs lisp.  (vectorp "abc") --> nil
>
> (arrayp "abc")  => t

Ah, right, in emacs array is a supertype of string and vector.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]