Re: Questions About Assoc-in, Dissoc-in, etc.

2011-07-17 Thread Asim Jalis
On Sat, Jul 16, 2011 at 9:16 PM, Alan Malloy wrote: > On Jul 16, 7:11 pm, Asim Jalis wrote: >> I've been using assoc-in and dissoc-in to navigate through nested >> associative structures (HTTP requests). Had some questions: >> >> 1. Why doesn't dissoc-in take multiple key-sequences? For example:

Re: Questions About Assoc-in, Dissoc-in, etc.

2011-07-16 Thread Alan Malloy
On Jul 16, 7:11 pm, Asim Jalis wrote: > I've been using assoc-in and dissoc-in to navigate through nested > associative structures (HTTP requests). Had some questions: > > 1. Why doesn't dissoc-in take multiple key-sequences? For example: > > (dissoc-in m [:a :b :c] [:a :b :d]) > > I can do this u

Re: Questions About Assoc-in, Dissoc-in, etc.

2011-07-16 Thread Benny Tsai
W.r.t. item 2, would "get-in" be close to what you're looking for? http://clojuredocs.org/clojure_core/clojure.core/get-in -- 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 f

Questions About Assoc-in, Dissoc-in, etc.

2011-07-16 Thread Asim Jalis
I've been using assoc-in and dissoc-in to navigate through nested associative structures (HTTP requests). Had some questions: 1. Why doesn't dissoc-in take multiple key-sequences? For example: (dissoc-in m [:a :b :c] [:a :b :d]) I can do this using a series of dissoc-in calls, but it might be ea