> 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? -- / Peter Schuller -- 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