Skip to content

Commit 74cdead

Browse files
committed
Merge remote-tracking branch 'jsoo/master' into jsoo-merge
2 parents 8fd1de5 + 576c9a3 commit 74cdead

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1155
-1088
lines changed

.ocamlformat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ break-separators=before
1010
dock-collection-brackets=false
1111
margin=90
1212
module-item-spacing=sparse
13-
version=0.26.2
13+
parse-docstrings=false
14+
version=0.27.0
1415
ocaml-version=4.08.0

benchmarks/common.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ end = struct
193193
then fun x -> x
194194
else
195195
fun x ->
196-
x
197-
|> List.filter ~f:(fun nm -> Filename.check_suffix nm spec.ext)
198-
|> List.map ~f:Filename.chop_extension)
196+
x
197+
|> List.filter ~f:(fun nm -> Filename.check_suffix nm spec.ext)
198+
|> List.map ~f:Filename.chop_extension)
199199
|> List.sort ~cmp:compare
200200

201201
let ml = create "ml" ".ml"

benchmarks/report.ml

100755100644
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ let stats (h, t) =
160160
let escape_name_for_gnuplot s =
161161
let b = Buffer.create (String.length s) in
162162
String.iter s ~f:(function
163-
| '_' -> Buffer.add_string b {|\\\_|}
164-
| c -> Buffer.add_char b c);
163+
| '_' -> Buffer.add_string b {|\\\_|}
164+
| c -> Buffer.add_char b c);
165165
Buffer.contents b
166166

167167
let text_output _no_header (h, t) =
@@ -291,9 +291,9 @@ let output_tables r conf =
291291
output_table
292292
r
293293
(List.map conf ~f:(function
294-
| None -> read_blank_column ()
295-
| Some (dir1, dir2, color, title, refe) ->
296-
read_column ~title ~color dir1 (Spec.create dir2 "") refe))
294+
| None -> read_blank_column ()
295+
| Some (dir1, dir2, color, title, refe) ->
296+
read_column ~title ~color dir1 (Spec.create dir2 "") refe))
297297
(output_function !no_header);
298298
no_header := true);
299299
close ()

benchmarks/run.ml

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,5 +341,5 @@ let _ =
341341
List.iter compilers ~f:(fun (comp, dir) ->
342342
measure param src (Filename.concat times dir) Spec.js comp;
343343
List.iter suites ~f:(function
344-
| None -> ()
345-
| Some suite -> measure param code (Filename.concat times dir) suite comp))
344+
| None -> ()
345+
| Some suite -> measure param code (Filename.concat times dir) suite comp))

0 commit comments

Comments
 (0)