Re: Efficient Vector Comparison



Yao Qi wrote:
Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx> writes:
Is (0 1 1) bigger or smaller than (2 0 0)?

In this case, the result should be uncomparable.

Then you do not have a total order and cannot sort.

--
Dr Jon D Harrop, Flying Frog Consultancy
The OCaml Journal
http://www.ffconsultancy.com/products/ocaml_journal/?usenet
.



Relevant Pages