Module Benchmark_accumulator.Entry
This type exists to prevent "staged" functions with no setup from being curried.
type ('param, 'benchmark_ctx, 'arg, 'r) parameterised_spec = {arg_name : string;params : (string * 'param) list;(*The first coordinate is some string representation of the second coordinate.
*)thunk : 'param -> 'benchmark_ctx @ local -> ('arg, 'r) Ppx_bench_lib.Benchmark_accumulator.Entry.thunk @ local;
}type ('benchmark_ctx, 'arg) test_spec = | Regular_thunk : ('benchmark_ctx @ local -> ('arg, 'r) Ppx_bench_lib.Benchmark_accumulator.Entry.thunk @ local) -> ('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.test_spec| Parameterised_thunk : ('param, 'benchmark_ctx, 'arg, 'r) Ppx_bench_lib.Benchmark_accumulator.Entry.parameterised_spec -> ('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.test_spec
type ('benchmark_ctx, 'arg) t = private {unique_id : int;code : string;type_conv_path : string;name : string;filename : string;line : int;startpos : int;endpos : int;test_spec : ('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.test_spec;config : (module Bench_config_types.S with type arg = 'arg and type benchmark_ctx = 'benchmark_ctx);bench_module_name : string option;
}type packed = | P : ('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.t -> Ppx_bench_lib.Benchmark_accumulator.Entry.packed
val with_test_spec :
('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.t ->
('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.test_spec ->
('benchmark_ctx, 'arg) Ppx_bench_lib.Benchmark_accumulator.Entry.tval compare :
(_, _) Ppx_bench_lib.Benchmark_accumulator.Entry.t ->
(_, _) Ppx_bench_lib.Benchmark_accumulator.Entry.t ->
intval get_module_name_opt :
(_, _) Ppx_bench_lib.Benchmark_accumulator.Entry.t ->
string option