diff --git a/rhodecode/public/js/mode/ocaml/index.html b/rhodecode/public/js/mode/ocaml/index.html --- a/rhodecode/public/js/mode/ocaml/index.html +++ b/rhodecode/public/js/mode/ocaml/index.html @@ -75,7 +75,7 @@ let rec sort = function and insert elem = function | [] -> [elem] - | x :: l -> + | x :: l -> if elem < x then elem :: x :: l else x :: insert elem l;; (* Imperative features *)