Re: Collection Building Idiom

2008-09-19 Thread Mark McGranaghan
Thanks Rich, This is exactly the "there must be a simple way to do this that I am overlooking" answer that I was hoping for. - Mark On Fri, Sep 19, 2008 at 8:25 AM, Rich Hickey <[EMAIL PROTECTED]> wrote: > > > > On Sep 18, 8:49 pm, Mark McGranaghan <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I

Re: Collection Building Idiom

2008-09-19 Thread Rich Hickey
On Sep 18, 8:49 pm, Mark McGranaghan <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering if there was an idiomatic functional way to accomplish > the following: > > We have some parameters, and we want to build a collection based on > those parameters. The collection could have as many as

Re: Collection Building Idiom

2008-09-19 Thread Parth Malwankar
On Sep 19, 5:49 am, Mark McGranaghan <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering if there was an idiomatic functional way to accomplish > the following: > > We have some parameters, and we want to build a collection based on > those parameters.  The collection could have as many as

Collection Building Idiom

2008-09-18 Thread Mark McGranaghan
Hi all, I was wondering if there was an idiomatic functional way to accomplish the following: We have some parameters, and we want to build a collection based on those parameters. The collection could have as many as n items, and whether and what items get added for each of the n possibilities