Great, glad to help. Ambrose
On Sat, Dec 24, 2011 at 6:35 PM, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > Thanks Ambrose.. That is exactly what I wanted. > Sunil. > > > On Sat, Dec 24, 2011 at 1:23 PM, Ambrose Bonnaire-Sergeant < > abonnaireserge...@gmail.com> wrote: > >> Or is this more what you're after? https://gist.github.com/1516727 >> >> 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 >> > > -- > 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