On Wed, 2010-05-26 at 13:57 -0400, Mike Meyer wrote:

> On Wed, 26 May 2010 19:47:25 +0200
> Peter Schuller <peter.schul...@infidyne.com> wrote:
> 
> > > chomp => rtrim
> > > (rtrim "foo\n") => "foo" is much more clear to me, plus it leaves the
> > > door open for trim and ltrim functions should the need arise.
> > 
> > I like this. And in general I often fine the entire trio useful, and
> > adopting the ltrim/trim/rtrim naming makes it nice and tidy.
> > 
> > While I recognize the perl (or whatever the original is) precedent
> > from chomp/chop, there is precedent for trim/left trim/right trim too.
> > What *would* one call trim/ltrim to make them consistent with chomp?
> 
> Personally, I like the lstrip/strip/rstrip, but that's just because
> I'm used to them.

Why not lpluck, pluck and rpluck then ?
(in French, pluck => effeuiller and the name effeuilleuse is one of the
synonyms for stripteaser :)))

ltrim & co.intents are a bit more precise


Luc :)))

>     <mike
> -- 
> Mike Meyer <m...@mired.org>           http://www.mired.org/consulting.html
> Independent Network/Unix/Perforce consultant, email for more information.
> 
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to