On May 26, 8:12 pm, Mohammad Khan <beepl...@gmail.com> wrote:
> personally, I like strip or trim [rather] than chomp/chop.

+1 from a mostly-Python programmer :-)

On May 26, 8:15 pm, Mark Engelberg <mark.engelb...@gmail.com> wrote:
> If you're developing a trio, like ltrim, trim, rtrim, wouldn't it be
> better to call them triml, trim, trimr so that they show up next to
> each other in the alphabetized documentation?

Good point. I also like the idea of an optional seq argument to
specify the characters that should be stripped/trimmed, e.g.

(trimr url "/")   ; or (trimr "/" url) to support point-free style

--
Daniel

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