Skip to content

Instantly share code, notes, and snippets.

@ninjudd
Forked from lrenn/more idiomatic way?
Created October 12, 2010 20:27
Show Gist options
  • Save ninjudd/622844 to your computer and use it in GitHub Desktop.
Save ninjudd/622844 to your computer and use it in GitHub Desktop.
(defn branch-revision [version]
(let [[branch version] (reverse (split version #"/"))]
{:branch branch :version version}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment