bit-clear documentation doesn't explicitly state that index is zero-
based but I would think so. Alpha7 seems to have broken this function.

user> *clojure-version*
{:major 1, :minor 3, :incremental 0, :qualifier "alpha4"}
user> (bit-clear 3 1)
1
user> (bit-clear 3 0)
2
user> (bit-clear 3 2)
3
user>
user> *clojure-version*
{:major 1, :minor 3, :incremental 0, :qualifier "alpha7"}
user> (bit-clear 3 1)
2
user> (bit-clear 3 0)
1
user> (bit-clear 3 2)
0
user>

-- 
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 patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to