David Nolen <dnolen.li...@gmail.com> writes: > What about something like: > > (defn gt [str1 str2] > (first (sort [str1 str2]))) > > (gt "Zoe" "Bob") ; -> "Bob"
If nothing exists yet, defining <, >, <=, and >= in str-utils might work. -Phil --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---