[Top][All Lists]

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

Re: print out all members of a list

From: Andreas Röhler
Subject: Re: print out all members of a list
Date: Tue, 01 Mar 2011 12:44:18 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20100711 Thunderbird/3.0.6

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))))

reply via email to

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