this repo has no description
1opam-version: "2.0" 2maintainer: "Jane Street developers" 3authors: ["Jane Street Group, LLC"] 4homepage: "https://github.com/janestreet/numeric_string" 5bug-reports: "https://github.com/janestreet/numeric_string/issues" 6dev-repo: "git+https://github.com/janestreet/numeric_string.git" 7doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/numeric_string/index.html" 8license: "MIT" 9build: [ 10 ["dune" "build" "-p" name "-j" jobs] 11] 12depends: [ 13 "ocaml" {>= "5.1.0"} 14 "base" {>= "v0.17" & < "v0.18"} 15 "ppx_jane" {>= "v0.17" & < "v0.18"} 16 "dune" {>= "3.11.0"} 17] 18available: arch != "arm32" & arch != "x86_32" 19synopsis: "A comparison function for strings that sorts numeric fragments of strings according to their numeric value, so that e.g. \"abc2\" < \"abc10\"." 20description: " 21A comparison function (and assorted sets / maps / etc.) for strings 22that sorts numeric fragments of strings according to their numeric 23value, so that e.g. \"abc2\" < \"abc10\". 24 25People often call this \"natural sort\", and link to this: 26 27https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/ 28 29which links to a few other posts about the matter. Sometimes it's 30called \"alphanum sort\" or \"human sort\" or something. \"Numeric string 31compare\" is chosen as the name that gets closest to expressing what it 32actually does (to me, \"natural sort\" sounds like something that might 33include a different treatment of case, special handling of whitespace 34or punctuation, etc.) 35" 36url { 37src: "https://github.com/janestreet/numeric_string/archive/refs/tags/v0.17.0.tar.gz" 38checksum: "sha256=d3c552957dd6e2b0791d5db4a9a50ec28eed60c2009acd46f9ecfd6891c2fe0f" 39}