I'm not sure if I fully understand the requirements, but here's my interpretation. https://gist.github.com/1516721
Hopefully you can clarify the intent if I'm off. Ambrose On Sat, Dec 24, 2011 at 3:39 PM, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > Hi, > I would like to create a predicate which would accept two keys k1,k2 and > two maps m1 m2 .. and unify the following > m1[k1] = k2 and m2[k2] = k1 .. I have spent some time on it.. but been > unable to figure out how to do this. I would like this to be as efficient > as possible. I would appreciate any suggestion any of you may have.. > Thanks, > Sunil. > > -- > 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 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