Re: Best Way To Implement Priority Map With Finite Size

2014-03-28 Thread milinda
Sorry I forgot the link [1]. Thanks Milinda [1] https://github.com/clojure/data.priority-map On Saturday, March 29, 2014 12:28:17 AM UTC-4, milinda wrote: > > Hi All, > > I wanted to extend priority-map which can be found at [1] to support size > limitation. So when the map is

Best Way To Implement Priority Map With Finite Size

2014-03-28 Thread milinda
limited number of functions from IPeristentMap. Really appriciate your feedback. Thanks Milinda -- 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

Re: How to replace code inside a macro

2014-03-06 Thread milinda
Thank you everyone for explanations. I think now I understand macros and how to use macro let better. Milinda On Thursday, March 6, 2014 1:51:59 PM UTC-5, Konrad Hinsen wrote: > > --On 5 Mar 2014 09:37:24 -0800 milinda > > wrote: > > > Thanks Konrad. Your unquoting trick

Re: How to replace code inside a macro

2014-03-05 Thread milinda
Thanks Konrad. Your unquoting trick worked. But I am not exactly sure how to reason about these types of situations. Can you please shed some lights behind the logic of above unquoting if possible. Thanks Milinda On Wednesday, March 5, 2014 8:33:03 AM UTC-5, Konrad Hinsen wrote: > > --On

Re: How to replace code inside a macro

2014-03-04 Thread milinda
I am doing something wrong or I am not understanding how clojure read, evaluation and macros work. Please let me know if anyone know way to achieve what I want using macros and macrolet. Thanks Milinda On Tuesday, March 4, 2014 2:28:06 PM UTC-5, milinda wrote: > > Thanks Jason. I'l

Re: How to replace code inside a macro

2014-03-04 Thread milinda
Thanks Jason. I'll try this. Milinda On Tuesday, March 4, 2014 1:35:39 PM UTC-5, Jason Felice wrote: > > Can you use macrolet from here: https://github.com/clojure/tools.macro ? > > > On Tue, Mar 4, 2014 at 11:30 AM, milinda > > wrote: > >> I wanted to achive

How to replace code inside a macro

2014-03-04 Thread milinda
use the same name as input parameter to work function. Thanks Milinda -- 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