diff --git a/compiler/lib/flow.ml b/compiler/lib/flow.ml index 8ce118f14a..d4fc88c0da 100644 --- a/compiler/lib/flow.ml +++ b/compiler/lib/flow.ml @@ -407,6 +407,8 @@ let rec the_shape_of info x = match info.info_defs.(Var.idx x) with | Expr (Block (_, a, _, Immutable)) -> Shape.Block (List.map ~f:(the_shape_of info) (Array.to_list a)) + | Expr (Block (_, a, _, _)) when not (Var.ISet.mem info.info_possibly_mutable x) + -> Shape.Block (List.map ~f:(the_shape_of info) (Array.to_list a)) | Expr (Closure (l, _)) -> Shape.Function { arity = List.length l; pure = false; res = Top "unk" } | Expr (Special (Alias_prim name)) -> ( diff --git a/compiler/tests-compiler/gh747.ml b/compiler/tests-compiler/gh747.ml index 2ab4423e28..51cd50f437 100644 --- a/compiler/tests-compiler/gh747.ml +++ b/compiler/tests-compiler/gh747.ml @@ -227,7 +227,7 @@ end 1: 2: //# unitInfo: Provides: Test 3: //# unitInfo: Requires: Stdlib__Printf - 4: //# shape: Test:[N,N,[N],N,N,N,N,N,N,N,N,N,N,F(2),F(2),[F(4)]] + 4: //# shape: Test:[N,N,[N],N,N,N,N,N,N,N,N,N,[N,N],F(2),F(2),[F(4)]] 5: (function 6: (globalThis){ 7: "use strict"; diff --git a/compiler/tests-full/stdlib.cma.expected.js b/compiler/tests-full/stdlib.cma.expected.js index 013a1ecd10..3be86a6922 100644 --- a/compiler/tests-full/stdlib.cma.expected.js +++ b/compiler/tests-full/stdlib.cma.expected.js @@ -305,7 +305,7 @@ //# unitInfo: Provides: Stdlib //# unitInfo: Requires: CamlinternalFormatBasics -//# shape: Stdlib:[F(1),F(1),N,N,N,N,N,N,N,N,N,N,N,N,N,F(2),F(2),F(1),N,N,F(1),N,N,N,N,N,N,F(2),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(2),N,N,N,F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(3),F(1),F(1),F(2),F(2),F(2),F(4),F(4),F(2),F(2),F(2),F(2),F(1),F(1),F(1),F(1),F(2),F(1),F(1),F(3),F(1),F(1),F(4),F(4),F(2),F(1),F(1),F(1),F(2),F(1),F(1),F(1),F(1),F(2),N,F(1),F(2),F(1),F(1),F(1),F(4),F(1),N] +//# shape: Stdlib:[F(1),F(1),[N,N],N,N,N,N,N,N,N,N,N,N,N,N,F(2),F(2),F(1),N,N,F(1),N,N,N,N,N,N,F(2),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(2),N,N,N,F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(3),F(1),F(1),F(2),F(2),F(2),F(4),F(4),F(2),F(2),F(2),F(2),F(1),F(1),F(1),F(1),F(2),F(1),F(1),F(3),F(1),F(1),F(4),F(4),F(2),F(1),F(1),F(1),F(2),F(1),F(1),F(1),F(1),F(2),[F(2),F(1),F(1),F(2),F(1),F(1)],F(1),F(2),F(1),F(1),F(1),F(4),F(1),[F(1)]] (function (globalThis){ "use strict"; @@ -1102,7 +1102,7 @@ //# unitInfo: Provides: Stdlib__Sys //# unitInfo: Requires: Stdlib -//# shape: Stdlib__Sys:[N,F(1),N,N,[N],N,N,N,N,N,N,N,N,N,F(2),N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,F(1),N,N,N,F(1),F(1),[F(2)]] +//# shape: Stdlib__Sys:[N,F(1),[N],N,[N],N,N,N,N,N,N,N,N,N,F(2),N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,[N,N],F(1),N,N,N,F(1),F(1),[F(2)]] (function (globalThis){ "use strict"; @@ -1207,7 +1207,7 @@ //# unitInfo: Provides: Stdlib__Obj //# unitInfo: Requires: Stdlib, Stdlib__Sys -//# shape: Stdlib__Obj:[F(1),F(2),F(3),N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,[F(1),F(1),F(1)],N] +//# shape: Stdlib__Obj:[F(1),F(2),F(3),N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,[F(1)],[F(1),F(1),F(1)],[F(1),F(1),F(2),F(2),F(3),F(2),F(2),F(5),F(1),F(1),F(2),F(1),F(1),F(2),N]] (function (globalThis){ "use strict"; @@ -7829,7 +7829,7 @@ //# unitInfo: Provides: Stdlib__Float //# unitInfo: Requires: Stdlib, Stdlib__Array, Stdlib__List, Stdlib__Seq -//# shape: Stdlib__Float:[N,N,N,F(1),F(1),N,N,N,N,N,N,N,N,N,F(1),F(1),F(1),F(1),N,N,F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(1),N,N] +//# shape: Stdlib__Float:[N,N,N,F(1),F(1),N,N,N,N,N,N,N,N,N,F(1),F(1),F(1),F(1),N,N,F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(1),[F(1),F(2),F(3),F(2),F(1),F(2),F(2),F(1),F(3),F(1),F(4),F(5),F(1),F(1),F(2),F(2),F(2),F(2),F(2),F(2),F(3),F(3),F(3),F(3),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(1),F(1),F(1),F(2),F(2)],[F(1),F(2),F(3),F(2),F(1),F(2),F(2),F(1),F(3),F(1),F(4),F(5),F(1),F(1),F(2),F(2),F(2),F(2),F(2),F(2),F(3),F(3),F(3),F(3),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(2),F(1),F(1),F(1),F(2),F(2)]] (function (globalThis){ "use strict"; @@ -9612,7 +9612,7 @@ //# unitInfo: Provides: Stdlib__Parsing //# unitInfo: Requires: Stdlib, Stdlib__Array, Stdlib__Lexing, Stdlib__Obj -//# shape: Stdlib__Parsing:[F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),N,F(1),N,F(4),F(2),F(1),F(1)] +//# shape: Stdlib__Parsing:[F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),N,F(1),[N,N],F(4),F(2),F(1),F(1)] (function (globalThis){ "use strict"; @@ -12952,7 +12952,7 @@ //# unitInfo: Provides: Stdlib__Domain //# unitInfo: Requires: Stdlib, Stdlib__Array, Stdlib__Atomic, Stdlib__Condition, Stdlib__List, Stdlib__Mutex -//# shape: Stdlib__Domain:[F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),N] +//# shape: Stdlib__Domain:[F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),[F(2),F(1),F(2)]] (function (globalThis){ "use strict"; @@ -20862,7 +20862,7 @@ //# unitInfo: Provides: Stdlib__Printexc //# unitInfo: Requires: Stdlib, Stdlib__Atomic, Stdlib__Buffer, Stdlib__Obj, Stdlib__Printf -//# shape: Stdlib__Printexc:[F(1),F(1),F(2),F(2),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(2),F(1),F(2),F(1),F(1),F(1),N,F(1),F(2),F(1),F(1),F(1),F(1),F(1)] +//# shape: Stdlib__Printexc:[F(1),F(1),F(2),F(2),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(2),F(1),F(2),F(1),F(1),F(1),[F(1),F(1),F(1),F(1),F(2)],F(1),F(2),F(1),F(1),F(1),F(1),F(1)] (function (globalThis){ "use strict"; @@ -21548,7 +21548,7 @@ //# unitInfo: Provides: Stdlib__Gc //# unitInfo: Requires: Stdlib, Stdlib__Atomic, Stdlib__Fun, Stdlib__Printf, Stdlib__Sys -//# shape: Stdlib__Gc:[F(1),F(1),F(2),F(2),F(1),F(1),F(1),F(1),F(1),N] +//# shape: Stdlib__Gc:[F(1),F(1),F(2),F(2),F(1),F(1),F(1),F(1),F(1),[N,F(3),F(1)]] (function (globalThis){ "use strict"; @@ -21909,7 +21909,7 @@ //# unitInfo: Provides: Stdlib__Bigarray //# unitInfo: Requires: Stdlib, Stdlib__Array, Stdlib__Sys -//# shape: Stdlib__Bigarray:[N,N,N,N,N,N,N,N,N,N,N,N,N,F(1),N,N,N,N,N,N,N,F(1),F(1),F(1),F(1),F(2),F(1),F(2),F(3),F(4)] +//# shape: Stdlib__Bigarray:[N,N,N,N,N,N,N,N,N,N,N,N,N,F(1),N,N,[F(4),F(1),F(1)],[F(2),F(3),F(2),F(1),F(1),F(1),F(3)],[F(3),F(4),F(2),F(1),F(2),F(3)],[F(4),F(5),F(2),F(1),F(2),F(2),F(3)],[F(5),F(6),F(2),F(1),F(3),F(3),F(2),F(2),F(3)],F(1),F(1),F(1),F(1),F(2),F(1),F(2),F(3),F(4)] (function (globalThis){ "use strict"; @@ -22593,7 +22593,7 @@ //# unitInfo: Provides: Stdlib__Random //# unitInfo: Requires: Stdlib, Stdlib__Bigarray, Stdlib__Bytes, Stdlib__Digest, Stdlib__Domain, Stdlib__Int32, Stdlib__Int64, Stdlib__Nativeint, Stdlib__String, Stdlib__Sys -//# shape: Stdlib__Random:[F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),N,F(1),F(1),F(1)] +//# shape: Stdlib__Random:[F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),[F(1),F(1),F(1),F(1),F(2),F(2),F(2),N,F(2),F(2),F(1),F(1),F(1),N,F(1),F(1),F(1)],F(1),F(1),F(1)] (function (globalThis){ "use strict"; @@ -22612,23 +22612,7 @@ caml_lxm_next = runtime.caml_lxm_next, caml_mod = runtime.caml_mod, caml_notequal = runtime.caml_notequal, - caml_sys_random_seed = runtime.caml_sys_random_seed; - /*<>*/ function caml_call1(f, a0){ - return (f.l >= 0 ? f.l : f.l = f.length) == 1 - ? f(a0) - : runtime.caml_call_gen(f, [a0]); - } - /*<>*/ function caml_call2(f, a0, a1){ - return (f.l >= 0 ? f.l : f.l = f.length) == 2 - ? f(a0, a1) - : runtime.caml_call_gen(f, [a0, a1]); - } - /*<>*/ function caml_call3(f, a0, a1, a2){ - return (f.l >= 0 ? f.l : f.l = f.length) == 3 - ? f(a0, a1, a2) - : runtime.caml_call_gen(f, [a0, a1, a2]); - } - var + caml_sys_random_seed = runtime.caml_sys_random_seed, global_data = runtime.caml_get_global_data(), serialization_prefix = "lxm1:", Stdlib_Domain = global_data.Stdlib__Domain, @@ -22647,8 +22631,7 @@ _d_ = runtime.caml_int64_create_lo_mi_hi(2, 0, 0), _e_ = runtime.caml_int64_create_lo_mi_hi(1, 0, 0); function create(param){ - /*<>*/ return /*<>*/ caml_call3 - (Stdlib_Bigarray[19][1], 7, 0, 4); + /*<>*/ return Stdlib_Bigarray[19][1].call(null, 7, 0, 4); /*<>*/ } function set(s, i1, i2, i3, i4){ /*<>*/ /*<>*/ caml_ba_set_1 @@ -22897,76 +22880,55 @@ /*<>*/ return mk(_m_, _l_, _k_, _j_); /*<>*/ } /*<>*/ /*<>*/ var - random_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], [0, split], mk_default); + random_key = Stdlib_Domain[10][1].call(null, [0, split], mk_default); function bits$0(param){ /*<>*/ return bits - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key)); + (Stdlib_Domain[10][2].call(null, random_key)); /*<>*/ } function int$1(bound){ /*<>*/ return int$0 - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - bound); + (Stdlib_Domain[10][2].call(null, random_key), bound); /*<>*/ } function full_int$0(bound){ /*<>*/ return full_int - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - bound); + (Stdlib_Domain[10][2].call(null, random_key), bound); /*<>*/ } function int32$0(bound){ /*<>*/ return int32 - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - bound); + (Stdlib_Domain[10][2].call(null, random_key), bound); /*<>*/ } function nativeint$0(bound){ /*<>*/ return nativeint - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - bound); + (Stdlib_Domain[10][2].call(null, random_key), bound); /*<>*/ } function int64$0(bound){ /*<>*/ return int64 - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - bound); + (Stdlib_Domain[10][2].call(null, random_key), bound); /*<>*/ } function float$1(scale){ /*<>*/ return float$0 - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - scale); + (Stdlib_Domain[10][2].call(null, random_key), scale); /*<>*/ } function bool$0(param){ /*<>*/ return bool - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key)); + (Stdlib_Domain[10][2].call(null, random_key)); /*<>*/ } function bits32$0(param){ /*<>*/ return bits32 - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key)); + (Stdlib_Domain[10][2].call(null, random_key)); /*<>*/ } function bits64$0(param){ /*<>*/ /*<>*/ var - s = - /*<>*/ caml_call1(Stdlib_Domain[10][2], random_key); + s = Stdlib_Domain[10][2].call(null, random_key); /*<>*/ return /*<>*/ caml_lxm_next(s); /*<>*/ } function nativebits$0(param){ /*<>*/ return nativebits - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key)); + (Stdlib_Domain[10][2].call(null, random_key)); /*<>*/ } function full_init(seed){ /*<>*/ return reinit - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key), - seed); + (Stdlib_Domain[10][2].call(null, random_key), seed); /*<>*/ } function init(seed){ /*<>*/ return full_init([0, seed]); @@ -22977,18 +22939,15 @@ /*<>*/ } function split$0(param){ /*<>*/ return split - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key)); + (Stdlib_Domain[10][2].call(null, random_key)); /*<>*/ } function get_state(param){ /*<>*/ return copy - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], random_key)); + (Stdlib_Domain[10][2].call(null, random_key)); /*<>*/ } function set_state(src){ /*<>*/ /*<>*/ var - dst = - /*<>*/ caml_call1(Stdlib_Domain[10][2], random_key); + dst = Stdlib_Domain[10][2].call(null, random_key); /*<>*/ return /*<>*/ caml_ba_blit (src, dst); /*<>*/ } @@ -23126,9 +23085,7 @@ /*<>*/ return Stdlib_Atomic[2].call(null, randomized); /*<>*/ } /*<>*/ /*<>*/ var - prng_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], 0, Stdlib_Random[15][2]); + prng_key = Stdlib_Domain[10][1].call(null, 0, Stdlib_Random[15][2]); function power_2_above(x, n){ /*<>*/ var x$0 = x; /*<>*/ for(;;){ @@ -23148,8 +23105,8 @@ /*<>*/ if(random) /*<>*/ var /*<>*/ _aq_ = - /*<>*/ caml_call1(Stdlib_Domain[10][2], prng_key), - seed = /*<>*/ caml_call1(Stdlib_Random[15][4], _aq_); + Stdlib_Domain[10][2].call(null, prng_key), + seed = Stdlib_Random[15][4].call(null, _aq_); else var seed = 0; /*<>*/ return [0, @@ -24025,8 +23982,8 @@ /*<>*/ if(random) /*<>*/ var /*<>*/ _g_ = - /*<>*/ caml_call1(Stdlib_Domain[10][2], prng_key), - seed = /*<>*/ caml_call1(Stdlib_Random[15][4], _g_); + Stdlib_Domain[10][2].call(null, prng_key), + seed = Stdlib_Random[15][4].call(null, _g_); else var seed = 4 <= h.length - 1 ? h[3] : 0; /*<>*/ var @@ -25525,32 +25482,29 @@ formatter_of_out_channel(Stdlib[40]), /*<>*/ str_formatter = formatter_of_buffer(stdbuf), /*<>*/ stdbuf_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], 0, pp_make_buffer); - /*<>*/ /*<>*/ caml_call2 - (Stdlib_Domain[10][3], stdbuf_key, stdbuf); + Stdlib_Domain[10][1].call(null, 0, pp_make_buffer); + /*<>*/ Stdlib_Domain[10][3].call + (null, stdbuf_key, stdbuf); /*<>*/ /*<>*/ var str_formatter_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + Stdlib_Domain[10][1].call + (null, 0, function(param){ /*<>*/ return formatter_of_buffer - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], stdbuf_key)); + (Stdlib_Domain[10][2].call(null, stdbuf_key)); /*<>*/ }); - /*<>*/ /*<>*/ caml_call2 - (Stdlib_Domain[10][3], str_formatter_key, str_formatter); + /*<>*/ Stdlib_Domain[10][3].call + (null, str_formatter_key, str_formatter); /*<>*/ function buffered_out_string(key, str, ofs, len){ /*<>*/ /*<>*/ var - _av_ = /*<>*/ caml_call1(Stdlib_Domain[10][2], key); + _av_ = Stdlib_Domain[10][2].call(null, key); /*<>*/ return Stdlib_Buffer[18].call (null, _av_, str, ofs, len); /*<>*/ } function buffered_out_flush(oc, key, param){ /*<>*/ var - /*<>*/ buf = - /*<>*/ caml_call1(Stdlib_Domain[10][2], key), + /*<>*/ buf = Stdlib_Domain[10][2].call(null, key), /*<>*/ len = Stdlib_Buffer[7].call(null, buf), /*<>*/ str = Stdlib_Buffer[2].call(null, buf); /*<>*/ Stdlib[69].call(null, oc, str, 0, len); @@ -25559,24 +25513,24 @@ /*<>*/ } /*<>*/ var /*<>*/ std_buf_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + Stdlib_Domain[10][1].call + (null, 0, function(param){ /*<>*/ return Stdlib_Buffer[1].call (null, pp_buffer_size); /*<>*/ }), /*<>*/ err_buf_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + Stdlib_Domain[10][1].call + (null, 0, function(param){ /*<>*/ return Stdlib_Buffer[1].call (null, pp_buffer_size); /*<>*/ }), /*<>*/ std_formatter_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + Stdlib_Domain[10][1].call + (null, 0, function(param){ /*<>*/ var @@ -25603,12 +25557,12 @@ (null, function(_ak_){ /*<>*/ return pp_print_flush(ppf, _ak_);}); /*<>*/ return ppf; /*<>*/ }); - /*<>*/ /*<>*/ caml_call2 - (Stdlib_Domain[10][3], std_formatter_key, std_formatter); + /*<>*/ Stdlib_Domain[10][3].call + (null, std_formatter_key, std_formatter); /*<>*/ /*<>*/ var err_formatter_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + Stdlib_Domain[10][1].call + (null, 0, function(param){ /*<>*/ var @@ -25634,23 +25588,23 @@ (null, function(___){ /*<>*/ return pp_print_flush(ppf, ___);}); /*<>*/ return ppf; /*<>*/ }); - /*<>*/ /*<>*/ caml_call2 - (Stdlib_Domain[10][3], err_formatter_key, err_formatter); + /*<>*/ Stdlib_Domain[10][3].call + (null, err_formatter_key, err_formatter); function get_std_formatter(param){ - /*<>*/ return /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + /*<>*/ return Stdlib_Domain[10][2].call + (null, std_formatter_key); /*<>*/ } function get_err_formatter(param){ - /*<>*/ return caml_call1 - (Stdlib_Domain[10][2], err_formatter_key); + /*<>*/ return Stdlib_Domain[10][2].call + (null, err_formatter_key); /*<>*/ } function get_str_formatter(param){ - /*<>*/ return caml_call1 - (Stdlib_Domain[10][2], str_formatter_key); + /*<>*/ return Stdlib_Domain[10][2].call + (null, str_formatter_key); /*<>*/ } function get_stdbuf(param){ - /*<>*/ return caml_call1 - (Stdlib_Domain[10][2], stdbuf_key); + /*<>*/ return Stdlib_Domain[10][2].call + (null, stdbuf_key); /*<>*/ } function flush_buffer_formatter(buf, ppf){ /*<>*/ pp_flush_queue(ppf, 0); @@ -25662,16 +25616,15 @@ function flush_str_formatter(param){ /*<>*/ var /*<>*/ stdbuf = - /*<>*/ caml_call1(Stdlib_Domain[10][2], stdbuf_key), + Stdlib_Domain[10][2].call(null, stdbuf_key), /*<>*/ str_formatter = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], str_formatter_key); + Stdlib_Domain[10][2].call(null, str_formatter_key); /*<>*/ return flush_buffer_formatter (stdbuf, str_formatter); /*<>*/ } function make_synchronized_formatter(output, flush){ - /*<>*/ return /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + /*<>*/ return Stdlib_Domain[10][1].call + (null, 0, function(param){ /*<>*/ var @@ -25744,327 +25697,222 @@ /*<>*/ } function open_hbox(v){ /*<>*/ return pp_open_hbox - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function open_vbox(v){ /*<>*/ return pp_open_vbox - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function open_hvbox(v){ /*<>*/ return pp_open_hvbox - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function open_hovbox(v){ /*<>*/ return pp_open_hovbox - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function open_box(v){ /*<>*/ return pp_open_box - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function close_box(v){ /*<>*/ return pp_close_box - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function open_stag(v){ /*<>*/ return pp_open_stag - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function close_stag(v){ /*<>*/ return pp_close_stag - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_as(isize, w){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); /*<>*/ return pp_print_as_size(state, isize, w); /*<>*/ } function print_string(v){ /*<>*/ return pp_print_string - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_bytes(v){ /*<>*/ return pp_print_bytes - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_int(v){ /*<>*/ return pp_print_int - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_float(v){ /*<>*/ return pp_print_float - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_char(v){ /*<>*/ return pp_print_char - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_bool(v){ /*<>*/ return pp_print_bool - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_break(v, w){ /*<>*/ return pp_print_break - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v, - w); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v, w); /*<>*/ } function print_cut(v){ /*<>*/ return pp_print_cut - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_space(v){ /*<>*/ return pp_print_space - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function force_newline(v){ /*<>*/ return pp_force_newline - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_flush(v){ /*<>*/ return pp_print_flush - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_newline(v){ /*<>*/ return pp_print_newline - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_if_newline(v){ /*<>*/ return pp_print_if_newline - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function open_tbox(v){ /*<>*/ return pp_open_tbox - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function close_tbox(v){ /*<>*/ return pp_close_tbox - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_tbreak(v, w){ /*<>*/ return pp_print_tbreak - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v, - w); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v, w); /*<>*/ } function set_tab(v){ /*<>*/ return pp_set_tab - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function print_tab(v){ /*<>*/ return pp_print_tab - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_margin(v){ /*<>*/ return pp_set_margin - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_margin(v){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); return state[6]; /*<>*/ } function set_max_indent(v){ /*<>*/ return pp_set_max_indent - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_max_indent(v){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); return state[8]; /*<>*/ } function set_geometry(max_indent, margin){ /*<>*/ return pp_set_geometry - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), + (Stdlib_Domain[10][2].call(null, std_formatter_key), max_indent, margin); /*<>*/ } function safe_set_geometry(max_indent, margin){ /*<>*/ return pp_safe_set_geometry - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), + (Stdlib_Domain[10][2].call(null, std_formatter_key), max_indent, margin); /*<>*/ } function get_geometry(v){ /*<>*/ return pp_get_geometry - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function update_geometry(v){ /*<>*/ return pp_update_geometry - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_max_boxes(v){ /*<>*/ return pp_set_max_boxes - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_max_boxes(v){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); return state[15]; /*<>*/ } function over_max_boxes(v){ /*<>*/ return pp_over_max_boxes - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_ellipsis_text(v){ /*<>*/ return pp_set_ellipsis_text - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_ellipsis_text(v){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); return state[16]; /*<>*/ } function set_formatter_out_channel(v){ /*<>*/ return pp_set_formatter_out_channel - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_formatter_out_functions(v){ /*<>*/ return pp_set_formatter_out_functions - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_formatter_out_functions(v){ /*<>*/ return pp_get_formatter_out_functions - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_formatter_output_functions(v, w){ /*<>*/ return pp_set_formatter_output_functi - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v, - w); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v, w); /*<>*/ } function get_formatter_output_functions(v){ /*<>*/ return pp_get_formatter_output_functi - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_formatter_stag_functions(v){ /*<>*/ return pp_set_formatter_stag_function - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_formatter_stag_functions(v){ /*<>*/ return pp_get_formatter_stag_function - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function set_print_tags(v){ /*<>*/ return pp_set_print_tags - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_print_tags(v){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); return state[22]; /*<>*/ } function set_mark_tags(v){ /*<>*/ return pp_set_mark_tags - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function get_mark_tags(v){ /*<>*/ /*<>*/ var - state = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key); + state = Stdlib_Domain[10][2].call(null, std_formatter_key); return state[23]; /*<>*/ } function set_tags(v){ /*<>*/ return pp_set_tags - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - v); + (Stdlib_Domain[10][2].call(null, std_formatter_key), v); /*<>*/ } function pp_print_iter(opt, iter, pp_v, ppf, v){ /*<>*/ if(opt) @@ -26464,9 +26312,7 @@ (null, function(acc){ /*<>*/ return output_acc - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - acc); + (Stdlib_Domain[10][2].call(null, std_formatter_key), acc); /*<>*/ }, 0, fmt); @@ -26477,9 +26323,7 @@ (null, function(acc){ /*<>*/ return output_acc - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], err_formatter_key), - acc); + (Stdlib_Domain[10][2].call(null, err_formatter_key), acc); /*<>*/ }, 0, fmt); @@ -26539,13 +26383,9 @@ /*<>*/ } function flush_standard_formatters(param){ /*<>*/ pp_print_flush - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], std_formatter_key), - 0); + (Stdlib_Domain[10][2].call(null, std_formatter_key), 0); /*<>*/ return pp_print_flush - ( /*<>*/ caml_call1 - (Stdlib_Domain[10][2], err_formatter_key), - 0); + (Stdlib_Domain[10][2].call(null, err_formatter_key), 0); /*<>*/ } /*<>*/ Stdlib[100].call(null, flush_standard_formatters); /*<>*/ Stdlib_Domain[5].call @@ -26744,7 +26584,7 @@ //# unitInfo: Provides: Stdlib__Scanf //# unitInfo: Requires: CamlinternalFormat, CamlinternalFormatBasics, Stdlib, Stdlib__Buffer, Stdlib__Bytes, Stdlib__Int, Stdlib__Printf, Stdlib__String -//# shape: Stdlib__Scanf:[N,N,F(2),F(2),F(2),F(2),F(1),F(1),F(3),F(3),F(3),F(3),F(2),F(1)] +//# shape: Stdlib__Scanf:[[N,F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1),F(1)],N,F(2),F(2),F(2),F(2),F(1),F(1),F(3),F(3),F(3),F(3),F(2),F(1)] (function (globalThis){ "use strict"; @@ -28905,7 +28745,7 @@ //# unitInfo: Provides: CamlinternalOO //# unitInfo: Requires: Stdlib, Stdlib__Array, Stdlib__List, Stdlib__Map, Stdlib__Obj, Stdlib__Sys -//# shape: CamlinternalOO:[F(1),F(1),F(2),F(3),F(2),F(2),F(2),F(2),F(2),F(3),F(2),F(4),F(1),F(2),N,F(1),F(1),F(6),F(2),F(3),F(1),F(1),F(1),F(2),F(2),F(3),F(2),F(2),N,F(1)] +//# shape: CamlinternalOO:[F(1),F(1),F(2),F(3),F(2),F(2),F(2),F(2),F(2),F(3),F(2),F(4),F(1),F(2),[N,N,N,N,N,N,N,N],F(1),F(1),F(6),F(2),F(3),F(1),F(1),F(1),F(2),F(2),F(3),F(2),F(2),[N,N,N,N,N],F(1)] (function (globalThis){ "use strict"; @@ -30161,7 +30001,7 @@ //# unitInfo: Provides: Stdlib__Ephemeron //# unitInfo: Requires: CamlinternalLazy, Stdlib, Stdlib__Array, Stdlib__Hashtbl, Stdlib__Int, Stdlib__List, Stdlib__Obj, Stdlib__Random, Stdlib__Seq, Stdlib__Sys -//# shape: Stdlib__Ephemeron:[N,N,N] +//# shape: Stdlib__Ephemeron:[[F(2),F(2),F(1),F(1),N],[F(3),F(3),F(2),F(2),N],[F(2),F(2),F(1),F(1),N]] (function (globalThis){ "use strict"; @@ -30206,7 +30046,7 @@ /*<>*/ /*<>*/ var prng = [246, - function(_at_){ /*<>*/ return caml_call1(Stdlib_Random[15][2], 0);}]; + function(_at_){ /*<>*/ return Stdlib_Random[15][2].call(null, 0);}]; function create(opt, initial_size){ /*<>*/ if(opt) var sth = opt[1], random = sth; @@ -30233,9 +30073,7 @@ if(246 !== _ar_ && 244 !== _ar_){var _as_ = prng; break a;} var _as_ = CamlinternalLazy[2].call(null, prng); } - var - seed = - /*<>*/ caml_call1(Stdlib_Random[15][4], _as_); + var seed = Stdlib_Random[15][4].call(null, _as_); } else var seed = 0; @@ -30668,30 +30506,26 @@ stats_alive]; } function create(param){ - /*<>*/ return /*<>*/ caml_call1 - (Stdlib_Obj[24][1], 1); + /*<>*/ return Stdlib_Obj[24][1].call(null, 1); /*<>*/ } function get_key(t){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call2(Stdlib_Obj[24][3], t, 0); + x = Stdlib_Obj[24][3].call(null, t, 0); /*<>*/ return x; /*<>*/ } function set_key(t, k){ - /*<>*/ return /*<>*/ caml_call3 - (Stdlib_Obj[24][5], t, 0, k); + /*<>*/ return Stdlib_Obj[24][5].call(null, t, 0, k); /*<>*/ } function check_key(t){ - /*<>*/ return /*<>*/ caml_call2 - (Stdlib_Obj[24][7], t, 0); + /*<>*/ return Stdlib_Obj[24][7].call(null, t, 0); /*<>*/ } function get_data(t){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call1(Stdlib_Obj[24][9], t); + x = Stdlib_Obj[24][9].call(null, t); /*<>*/ return x; /*<>*/ } function set_data(t, d){ - /*<>*/ return /*<>*/ caml_call2 - (Stdlib_Obj[24][11], t, d); + /*<>*/ return Stdlib_Obj[24][11].call(null, t, d); /*<>*/ } function make(key, data){ /*<>*/ /*<>*/ var @@ -30727,8 +30561,7 @@ : 1; /*<>*/ } function set_key_data(c, k, d){ - /*<>*/ /*<>*/ caml_call1 - (Stdlib_Obj[24][12], c); + /*<>*/ Stdlib_Obj[24][12].call(null, c); /*<>*/ set_key(c, k); /*<>*/ return set_data(c, d); /*<>*/ } @@ -30847,35 +30680,31 @@ return 0; /*<>*/ } function create$0(param){ - /*<>*/ return /*<>*/ caml_call1 - (Stdlib_Obj[24][1], 2); + /*<>*/ return Stdlib_Obj[24][1].call(null, 2); /*<>*/ } function get_key1(t){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call2(Stdlib_Obj[24][3], t, 0); + x = Stdlib_Obj[24][3].call(null, t, 0); /*<>*/ return x; /*<>*/ } function set_key1(t, k){ - /*<>*/ return /*<>*/ caml_call3 - (Stdlib_Obj[24][5], t, 0, k); + /*<>*/ return Stdlib_Obj[24][5].call(null, t, 0, k); /*<>*/ } function get_key2(t){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call2(Stdlib_Obj[24][3], t, 1); + x = Stdlib_Obj[24][3].call(null, t, 1); /*<>*/ return x; /*<>*/ } function set_key2(t, k){ - /*<>*/ return /*<>*/ caml_call3 - (Stdlib_Obj[24][5], t, 1, k); + /*<>*/ return Stdlib_Obj[24][5].call(null, t, 1, k); /*<>*/ } function get_data$0(t){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call1(Stdlib_Obj[24][9], t); + x = Stdlib_Obj[24][9].call(null, t); /*<>*/ return x; /*<>*/ } function set_data$0(t, d){ - /*<>*/ return /*<>*/ caml_call2 - (Stdlib_Obj[24][11], t, d); + /*<>*/ return Stdlib_Obj[24][11].call(null, t, d); /*<>*/ } function make$1(key1, key2, data){ /*<>*/ /*<>*/ var @@ -30937,18 +30766,16 @@ } function set_key_data(c, param, d){ var k2 = param[2], k1 = param[1]; - /*<>*/ /*<>*/ caml_call1 - (Stdlib_Obj[24][12], c); + /*<>*/ Stdlib_Obj[24][12].call(null, c); /*<>*/ set_key1(c, k1); /*<>*/ set_key2(c, k2); /*<>*/ return set_data$0(c, d); } function check_key(c){ /*<>*/ /*<>*/ var - _N_ = /*<>*/ caml_call2(Stdlib_Obj[24][7], c, 0); + _N_ = Stdlib_Obj[24][7].call(null, c, 0); /*<>*/ return _N_ - ? /*<>*/ caml_call2 - (Stdlib_Obj[24][7], c, 1) + ? Stdlib_Obj[24][7].call(null, c, 1) : _N_; /*<>*/ } /*<>*/ return MakeSeeded @@ -31073,30 +30900,26 @@ return 0; /*<>*/ } function create$1(n){ - /*<>*/ return /*<>*/ caml_call1 - (Stdlib_Obj[24][1], n); + /*<>*/ return Stdlib_Obj[24][1].call(null, n); /*<>*/ } function length$1(k){ - /*<>*/ return /*<>*/ caml_call1 - (Stdlib_Obj[24][2], k); + /*<>*/ return Stdlib_Obj[24][2].call(null, k); /*<>*/ } function get_key$0(t, n){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call2(Stdlib_Obj[24][3], t, n); + x = Stdlib_Obj[24][3].call(null, t, n); /*<>*/ return x; /*<>*/ } function set_key$0(t, n, k){ - /*<>*/ return /*<>*/ caml_call3 - (Stdlib_Obj[24][5], t, n, k); + /*<>*/ return Stdlib_Obj[24][5].call(null, t, n, k); /*<>*/ } function get_data$1(t){ /*<>*/ /*<>*/ var - x = /*<>*/ caml_call1(Stdlib_Obj[24][9], t); + x = Stdlib_Obj[24][9].call(null, t); /*<>*/ return x; /*<>*/ } function set_data$1(t, d){ - /*<>*/ return /*<>*/ caml_call2 - (Stdlib_Obj[24][11], t, d); + /*<>*/ return Stdlib_Obj[24][11].call(null, t, d); /*<>*/ } function make$3(keys, data){ /*<>*/ var @@ -31226,8 +31049,7 @@ } /*<>*/ } function set_key_data(c, k, d){ - /*<>*/ /*<>*/ caml_call1 - (Stdlib_Obj[24][12], c); + /*<>*/ Stdlib_Obj[24][12].call(null, c); /*<>*/ var _q_ = k.length - 2 | 0, /*<>*/ _p_ = 0; @@ -31254,7 +31076,7 @@ var _o_ = _n_; else{ /*<>*/ /*<>*/ var - _m_ = /*<>*/ caml_call2(Stdlib_Obj[24][7], c, i); + _m_ = Stdlib_Obj[24][7].call(null, c, i); /*<>*/ if(_m_){ var i$0 = i - 1 | 0; i = i$0; @@ -31461,11 +31283,6 @@ caml_trampoline = runtime.caml_trampoline, caml_trampoline_return = runtime.caml_trampoline_return, caml_wrap_exception = runtime.caml_wrap_exception; - /*<>*/ function caml_call1(f, a0){ - return (f.l >= 0 ? f.l : f.l = f.length) == 1 - ? f(a0) - : runtime.caml_call_gen(f, [a0]); - } /*<>*/ function caml_call2(f, a0, a1){ return (f.l >= 0 ? f.l : f.l = f.length) == 2 ? f(a0, a1) @@ -32225,17 +32042,13 @@ (null, name, 0, caml_ml_string_length(name) - l | 0); /*<>*/ } /*<>*/ /*<>*/ var - prng_key = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], 0, Stdlib_Random[15][2]); + prng_key = Stdlib_Domain[10][1].call(null, 0, Stdlib_Random[15][2]); function temp_file_name(temp_dir, prefix, suffix){ /*<>*/ var /*<>*/ random_state = - /*<>*/ caml_call1(Stdlib_Domain[10][2], prng_key), + Stdlib_Domain[10][2].call(null, prng_key), /*<>*/ rnd = - /*<>*/ caml_call1 - (Stdlib_Random[15][4], random_state) - & 16777215; + Stdlib_Random[15][4].call(null, random_state) & 16777215; /*<>*/ return concat (temp_dir, /*<>*/ caml_call3 @@ -32243,28 +32056,25 @@ /*<>*/ } /*<>*/ /*<>*/ var current_temp_dir_name = - /*<>*/ caml_call2 - (Stdlib_Domain[10][1], + Stdlib_Domain[10][1].call + (null, [0, function(_o_){ /*<>*/ return _o_;}], function(param){ /*<>*/ return temp_dir_name$1; /*<>*/ }); function set_temp_dir_name(s){ - /*<>*/ return /*<>*/ caml_call2 - (Stdlib_Domain[10][3], current_temp_dir_name, s); + /*<>*/ return Stdlib_Domain[10][3].call + (null, current_temp_dir_name, s); /*<>*/ } function get_temp_dir_name(param){ - /*<>*/ return caml_call1 - (Stdlib_Domain[10][2], current_temp_dir_name); + /*<>*/ return Stdlib_Domain[10][2].call + (null, current_temp_dir_name); /*<>*/ } function temp_file(opt, prefix, suffix){ /*<>*/ if(opt) var sth = opt[1], temp_dir = sth; else - var - temp_dir = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], current_temp_dir_name); + var temp_dir = Stdlib_Domain[10][2].call(null, current_temp_dir_name); var counter = 0; /*<>*/ for(;;){ /*<>*/ /*<>*/ var @@ -32298,10 +32108,7 @@ /*<>*/ if(_l_) var sth$1 = _l_[1], temp_dir = sth$1; else - var - temp_dir = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], current_temp_dir_name); + var temp_dir = Stdlib_Domain[10][2].call(null, current_temp_dir_name); var counter = 0; /*<>*/ for(;;){ /*<>*/ /*<>*/ var @@ -32330,10 +32137,7 @@ /*<>*/ if(opt) var sth = opt[1], temp_dir = sth; else - var - temp_dir = - /*<>*/ caml_call1 - (Stdlib_Domain[10][2], current_temp_dir_name); + var temp_dir = Stdlib_Domain[10][2].call(null, current_temp_dir_name); /*<>*/ if(_k_) var sth$0 = _k_[1], perms = sth$0; else @@ -33533,7 +33337,7 @@ //# unitInfo: Provides: Stdlib__Effect //# unitInfo: Requires: Stdlib, Stdlib__Callback, Stdlib__Printexc, Stdlib__Printf //# unitInfo: Effects_without_cps: true -//# shape: Stdlib__Effect:[N,N,[F(2),F(2),F(3),F(3),F(3)],N] +//# shape: Stdlib__Effect:[N,N,[F(2),F(2),F(3),F(3),F(3)],[F(1),F(3),F(3),F(4)]] (function (globalThis){ "use strict";