Re: Patch: callable defstruct (PersistentStructMap$Def extends AFn)

2008-11-06 Thread Parth Malwankar
On Nov 6, 9:19 am, Chouser <[EMAIL PROTECTED]> wrote: > On Wed, Nov 5, 2008 at 12:10 AM, Chouser <[EMAIL PROTECTED]> wrote: > >  The attached patch allows: > > > user=> (point 42 11) > > {:x 42, :y 11} > Seems like a very nice enhancement to me. It would make the code more terse. Parth > The

Re: Patch: callable defstruct (PersistentStructMap$Def extends AFn)

2008-11-05 Thread Chouser
On Wed, Nov 5, 2008 at 12:10 AM, Chouser <[EMAIL PROTECTED]> wrote: > The attached patch allows: > > user=> (point 42 11) > {:x 42, :y 11} The right tool for the job makes all the difference. Attached is a much simpler patch to accomplish the same thing. --Chouser --~--~-~--~~-