Guest User

Untitled

a guest
Apr 1st, 2010
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.17 KB | None | 0 0
  1. (defmulti test-url #(get % "country"))
  2. (defmethod test-url "US"
  3.   [{country "country" :as data}] (str country "US"))
  4. (defmethod test-url "UK" [data]
  5.   (str data "UK"))
Advertisement
Add Comment
Please, Sign In to add comment