You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utop[6]> #require "core_bench";;
utop[7]> open Core_bench.Std;;
utop[8]> Bench.bench;;
- : ?run_config:Bench.Run_config.t ->
?analysis_configs:Bench.Analysis_config.t list ->
?display_config:Bench.Display_config.t ->
?save_to_file:(Bench.Measurement.t -> bytes) ->
Core_bench.Test.t list -> unit
= <fun>
utop[9]> let run_bench tests =
Bench.bench
~ascii_table:true
~display:Textutils.Ascii_table.Display.column_titles
tests
;;
Error: The function applied to this argument has type
?run_config:Bench.Run_config.t ->
?analysis_configs:Bench.Analysis_config.t list ->
?display_config:Bench.Display_config.t ->
?save_to_file:(Bench.Measurement.t -> bytes) -> unit
This argument cannot be applied with label ~ascii_table
utop[10]>
The core_bench version I have installed is 112.35.00
The text was updated successfully, but these errors were encountered:
I'm trying to run the code in https://github.com/realworldocaml/examples/blob/master/code/lists-and-patterns/main.topscript#L62. However, it looks like the type signature of
Bench.bench
has changed since the example was written:The
core_bench
version I have installed is 112.35.00The text was updated successfully, but these errors were encountered: