From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Joe Casadonte" Newsgroups: gmane.emacs.help Subject: Re: Creating string from list of strings Date: 14 Oct 2002 13:09:42 -0400 Organization: Llama Fresh Farms, Neare Paraguay Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <80of9xtu2k.fsf@gbr.newt.com> <5lelatc9tl.fsf@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034615653 15939 127.0.0.1 (14 Oct 2002 17:14:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Oct 2002 17:14:13 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1818nD-00048u-00 for ; Mon, 14 Oct 2002 19:14:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1818kQ-0007i4-00; Mon, 14 Oct 2002 13:11:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Original-Lines: 36 Original-NNTP-Posting-Host: 649cfc5d.news.newshosting.com Original-X-Trace: DXC=44R\iIa75HeB`6U7P9\XHlXMDXCI2J8LcXkcEe:=NIikY;YRGo_>aNmM6=kBGPLhEnR8PEOUnbQ:a?>FfRhk4SE`7KAcl]ULLb` Original-X-Complaints-To: abuse@newshosting.com Original-Xref: shelby.stanford.edu gnu.emacs.help:106046 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2593 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2593 On 14 Oct 2002, Stefan Monnier wrote: >>>>>> "Joe" == Joe Casadonte >>>>>> writes: >> (defun my-perl-join (join-string elements) > (mapconcat 'identity join-string element)) Well, it should be: (mapconcat 'identity elements join-string) as in: (mapconcat 'identity (list "foo" "bar" "baz") "/") but it is tre cool nonetheless! I never knew mapconcat could do that. Learn something new each day.... Thanks! -- Regards, joe Joe Casadonte jcasadonte@northbound-train.com ------------------------------------------------------------------------------ Llama Fresh Farms => http://www.northbound-train.com Gay Media Resource List => http://www.northbound-train.com/gaymedia.html Perl for Win32 => http://www.northbound-train.com/perlwin32.html Emacs Stuff => http://www.northbound-train.com/emacs.html Music CD Trading => http://www.northbound-train.com/cdr.html ------------------------------------------------------------------------------ Live Free, that's the message! ------------------------------------------------------------------------------