Re: Parsing parameters in clojure.core

2010-03-25 Thread Sean Devlin
I agreed with you until I had to go over every single line of the thing, in order. It actually reads pretty well from top to bottom. Then again, some functions are by necessity just plain nasty. On Mar 25, 2:02 am, Per Vognsen wrote: > It would be nice if the compiler handled these things with g

Re: Parsing parameters in clojure.core

2010-03-24 Thread Per Vognsen
It would be nice if the compiler handled these things with greater cleverness. In the mean time, some macros might be in order. I'd also like to add that clojure.core is not generally an exemplar of style. :) -Per On Wed, Mar 24, 2010 at 11:58 PM, Sean Devlin wrote: > It's a (drastic) performan

Re: Parsing parameters in clojure.core

2010-03-24 Thread Sean Devlin
It's a (drastic) performance improvement. The magic number of 3 appears to cover a lot of use cases. Once you get larger than three, it typically is a large number of inputs, i.e. the tail flattens off. On Mar 23, 5:00 pm, Thomas wrote: > Hi all, > > I've been reading through clojure.core to se