Bug (I think): Can't sort collection of vectors containing big integers

2 views
Skip to first unread message

puzzler

unread,
Dec 4, 2008, 2:32:27 AM12/4/08
to Clojure
OK, after my last goof-up in reporting a bug, I'm reluctant to state
with certainty that this is a bug, but it sure seems that way:

This works:
(sort [[5 2] [1 0] [3 4]])

This works:
(sort [3243214324324132413243243243243243243234 324132])

This does not work:
(sort [[34324321432432432413242343241324 32432] [0 342143243124]])

In other words, sort doesn't know how to compare vectors containing
big integers.

Rich Hickey

unread,
Dec 4, 2008, 7:54:30 AM12/4/08
to Clojure
Fixed (svn 1144) - thanks for the report,

Rich

harrison clarke

unread,
Dec 4, 2008, 12:23:59 PM12/4/08
to clo...@googlegroups.com
the same issue is there for sorted-map and sorted-set.

Rich Hickey

unread,
Dec 4, 2008, 7:19:42 PM12/4/08
to Clojure


On Dec 4, 12:23 pm, "harrison clarke" <notall...@gmail.com> wrote:
> the same issue is there for sorted-map and sorted-set.

Fixed too, svn 1145 - thanks for the report.

Rich
Reply all
Reply to author
Forward
0 new messages