On Fri, Jan 10, 2014 at 11:43 AM, Jonas Enlund <jonas.enl...@gmail.com>wrote:

> That's why I wrote my solution like I did, i.e., concatenate "_1" when a
> new string is found. This would result in the vector ["a_1" "a_2" "a_1_1"]
>

Right, I agree that works, as does my "tack unique numbers onto the end of
everything" solution.  That doesn't appear to be what the OP wants, though,
so I'm just saying that if he really insists on having "naked names" as
much as possible, then it's important to also compare the names not only
against previous filenames, but against the modified filenames that have
come before.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to