[Top][All Lists]

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

Re: print out all members of a list

From: Richard Riley
Subject: Re: print out all members of a list
Date: Tue, 01 Mar 2011 16:10:29 +0100
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

"Pascal J. Bourguignon" <address@hidden> writes:

> Andreas Röhler <address@hidden> writes:
>> Am 28.02.2011 16:20, schrieb ken:
>>> (car '("one" "two" "three"))
>>> prints out "one" ... the first of the list.  How to print out all
>>> elements of the list (in order and with the double quotes around them?
>>> I'm actually looking just to substitute something for "car" and not
>>> write an entire function.  Or is there no such thing?
>>> Thanks much.
>> and still a form delivering with doublequotes...
>> (let ((my-list (list "one" "two" "three")))
>>     (dolist (elem my-list)
>>   (insert (format "\n\"%s\"" elem))))
> Why do you write broken code?

I'm intrigued. Do you get a bonus point for every time you are rude and
condescending to people looking for help or are patiently helping

reply via email to

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