Re: Unsigned-right-shift patch

2010-08-23 Thread Cameron Pulsford
Yes the 1.0 was a slip on my part, and I agree that I should have used the class/staticMembers syntax; at the time I was simply trying to fit in. Regardless, here is the updated patch with those two comments fixed: http://github.com/cpulsford/bitops/blob/logical-assumption/unsigned-right-shift.pat

Re: Unsigned-right-shift patch

2010-08-23 Thread Alan
Without commenting on the usefulness of this (it doesn't really interest me), there are a couple style things I would change. First, :added ought to be 1.3 (maybe 1.2?), not 1.0. Second, the newsgroup seems to think that if you're changing clojure.core you might as well update from (. staticMember

Unsigned-right-shift patch

2010-08-23 Thread Cameron
Hey all, I had an itch this weekend... so I scratched it. I was doing some bit twiddling stuff and needed the Java >>> operator. I had written some workarounds but they were overly-complicated and slower than I would have hoped, so I dug directly into core and added it as a first class citizen nex