#clojure logs

2008-03-30

01:17Chouseris there a way to test for identity equality?
01:20ChouserI want to check if a ref has changed, so I don't really want to scan the entire object each time, I just want to store and test its identity.
03:23abrooksChouser: "identical?" is what you want, I think.
09:28Chouserabrooks: yep, "idential?" is what I wanted. I wonder why it's not at: http://clojure.sourceforge.net/reference/api.html
10:41rhickeyChouser: identical? doc fixed
13:20Chouserrhickey: thanks!
17:33arbschtoops
19:03abrooksrhickey: What do you think about "_" for numeric spacing ala C 99, Ruby and other languages? (e.g. 1_000_000 -> 1000000)
19:26rhickeyI liked it in Mathemtica...
19:27rhickeyMathematica
19:27rhickeyThis optional for entry only, or also print?
19:56abrooksrhickey: I was thinking for entry. Pretty printing at the REPL might also be nice but my real desire is for source readability. In C99 and Ruby the _ placement is arbitrary allowing not only millennium marking but word byte, word or special purpose marking of fields.
19:57rhickeyhmm...
19:57rhickeynot yet, there wasa patch submitted that I still haven't gotten to integrate -
19:58rhickeyit will follow moving to Java's boxed numbers
19:58abrooksAh. Okay.
19:59rhickeyanyone look at the new for?
20:00abrooksI did but I haven't tried it yet. It looked nice.
20:01abrooksGINMF (Google Is Not My Friend) on Java boxed numbers. Is there another term I should look for or is there a reference page?
20:02rhickeyJust talking about the wrapper classes Integer Long etc derived from Number
20:02abrooksAh.