java.jdbc does this for column names (in joins):

https://github.com/clojure/java.jdbc/blob/master/src/main/clojure/clojure/java/jdbc.clj#L257

Sean

On Jan 10, 2014, at 6:59 AM, Colin Yates <colin.ya...@gmail.com> wrote:

> I have a sequence of file names and I want to make them unique.  (uniquify 
> ["a" "b" "c" "a"]) => ["a" "b" "c" "a_1"])
> 
> This is what I have come up with, but surely there is a better way?
> 
> What would you all do?  Feedback welcome (including the word 'muppet' as I am 
> sure I have missed something simple) :)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to