Re: Funding Clojure 2010

2009-12-14 Thread Patrick Sullivan
I barely have time to do anything in Clojure these days, but the work you've done, the talks you've given, and so on are worth the price of admission. I really do hope enough chip in so you can focus on your work with the language until such time as you can make it profitable in other ways, if

Re: Order of keys within a map?

2009-08-27 Thread Patrick Sullivan
If you look at the data_structures page on clojure.org you'll see there are sorted maps available to allow guarantees of being sorted by Key. ~Patrick On Aug 27, 1:40 pm, Jeremy Gailor jer...@infinitecube.com wrote: Traditionally, there is no guarantee for the sorting order of keys in a map.

Re: Transient Data Structures

2009-08-07 Thread Patrick Sullivan
it seemed to stop taking new keys. Am I doing something silly here or is this a bug? ~Patrick Sullivan On Aug 6, 5:53 am, Rich Hickey richhic...@gmail.com wrote: On Aug 5, 10:10 pm, Luc Prefontaine lprefonta...@softaddicts.ca wrote: I like this very much... that's the kind of clever

Re: Transient Data Structures

2009-08-07 Thread Patrick Sullivan
Err assoc! obviously ;-) (Sorry for the double post, didn't want to confuse Cristophe). On Aug 7, 8:15 am, Patrick Sullivan wizardofwestma...@gmail.com wrote: I don't have the EXACT code handy to c/p (at work now) but I did something like the following. (apologies for doing

Re: Transient Data Structures

2009-08-07 Thread Patrick Sullivan
Newman john...@gmail.com wrote: (def transhashmap (transient {}) (assoc transhashmap a 1) (assoc transhashmap b 2) etc Isn't that what Rich was talking about, about not bashing in place? On Fri, Aug 7, 2009 at 6:45 PM, Patrick Sullivan wizardofwestma...@gmail.com wrote: I don't