Source

ocaml-core / base / core / lib / core_arg.ml

The branch 'bash' does not exist.
1
2
3
4
5
6
7
8
9
include Caml.Arg

type t = key * spec * doc

let sort_and_align lst =
  align (ListLabels.sort lst ~cmp:(fun (a,_,_) (b,_,_) ->
      compare a b
    ))
;;