mirage / ocaml-uri

RFC3986 URI parsing library for OCaml
Other
98 stars 57 forks source link

Make Uri an OrderedType and thus suitable for Maps and Sets #55

Closed dsheets closed 9 years ago

dsheets commented 10 years ago

Comparator ordering by host, scheme, port, userinfo, path, query, and finally fragment. Designed to produce a reasonable sort order.

Opinions on this order?

dsheets commented 10 years ago

Now using matchs with piles of trailing cases. The build is failing because of the two new failing test cases only.