SubVec anomaly

2012-03-29 Thread stirfoo
user= (nth (subvec [:??? 1 2] 1) -1) :??? This could be a bug, not sure. Only the upper bound of the internal SubVec is being checked. -- 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

Re: SubVec anomaly

2012-03-29 Thread Cedric Greevey
On Thu, Mar 29, 2012 at 5:15 AM, stirfoo stir...@gmail.com wrote: user= (nth (subvec [:??? 1 2] 1) -1) :??? This could be a bug, not sure. Only the upper bound of the internal SubVec is being checked. Hmm. This also raises the specter of (let [a

Re: SubVec anomaly

2012-03-29 Thread Andy Fingerhut
Thanks for the catch. Bug report with patch created: http://dev.clojure.org/jira/browse/CLJ-962 Andy On Mar 29, 2012, at 2:15 AM, stirfoo wrote: user= (nth (subvec [:??? 1 2] 1) -1) :??? This could be a bug, not sure. Only the upper bound of the internal SubVec is being checked.