Caml1999I037'EUɠ$Misc+fatal_error@&stringQ@@@k!a@l@@m@.utils/misc.mliYY@@@@@,fatal_errorf@&Stdlib'format4!a@r&Format)formatter@@@p$unitF@@@o!b@n@@@q@@s@-\DD.\D@@CA@@ +Fatal_error##exnG@@@A&_none_@@A@PB@B@+try_finally&always&optionL@.@@@t2@@@u@@v@@@w-exceptionally@@@@@xD@@@y@@z@@@{@@M@@@|!a@~@@}@@@@@@@vdAAwg@@C@@@@?@  U@@S@@(split_atF@@@@@@Р!a@C@@@A@ܠ @@@D@@@@B@@E@@F@@G@  @@T@@)chunks_ofG@@@@H@!a@J@@@I @@@K@@@L@@M@@N@)* @@?U@@)is_prefixH%equal@!a@S@@@@O@@P@@Q@@@@R#of_@@@T3@@@U@@V@@W@@X@V Wer@@lV@@C@c@@@Ӡ&String>@!tP;@@@A&stringQ@@@Y@@@@*string.mliK  K  @@@@.Stdlib__String@@A@$makeQ@#intA@@@Z@$charB@@@[!@@@\@@]@@^@N   N  =@@A@@$initR@@@@_@@%@@@`!@@@a@@b@@@@c@@d@@e@>T  ?T @@=B@@%emptySM@@@f@K[L[@@JC@@&lengthT@\@@@gM@@@h@@i.%string_lengthAA @@@ca((da(Z@@bD@@#getU@t@@@j@g@@@kc@@@l@@m@@n0%string_safe_getBA@@@@dd@@E@@(of_bytesV@%bytesC@@@o@@@p@@q@juuju@@F@@(to_bytesW@@@@r@@@s@@t@qq@@G@@$blitX@@@@u@@@@v@4@@@w@@@@x@@@@y$unitF@@@z@@{@@|@@}@@~@@@xy@@H@@&concatY@@@@@$listK@@@@@@@@@@@@@@sss@@I@@#catZ@@@@@ @@@@@@@@@@@ttt@@J@@%equal[@(@@@@@@@$boolE@@@@@@@@)rr*r@@(K@@'compare\@@@@@@@@/@@@@@@@@@A*@@?L@@+starts_with]&prefixS@@@@Y@@@4@@@@@@@@[\%@@ZM@@)ends_with^&suffixn@@@@t@@@O@@@@@@@@vw@@uN@@-contains_from_@@@@@z@@@@x@@@n@@@@@@@@@@RRR@@O@@.rcontains_from`@@@@@@@@@@@@@@@@@@@@@@666h@@P@@(containsa@@@@@@@@@@@@@@@@000U@@Q@@#subb@@@@@@@@@@@@@@@@@@@@@@@@R@@-split_on_charc@@@@@@@@ @@@@@@@@@@@  @@ S@@#mapd@@@@@@@@@@@'@@@+@@@@@@@@)aa*a@@(T@@$mapie@@)@@@@'@@@+@@@@@@@@L@@@P@@@@@@@@NOE@@MU@@)fold_leftf@@#acc@@L@@@ @@@@@ @o@@@@@@@@@@mn@@lV@@*fold_rightg@@e@@@@#acc@@@@@@@@@@  @@@@@@@@@W@@&existsh@@@@@z@@@@@@@@@@@@@@@@@   !@@Y@@$trimi@@@@@@@@@@!!!!@@Z@@'escapedj@@@@@@@@@@"H"H"H"f@@[@@/uppercase_asciik@@@@@@@@@@$y$y$y$@@\@@/lowercase_asciil@@@@@@@@@@ %E%E %E%k@@]@@0capitalize_asciim@@@@ @@@@@@ && &&8@@ ^@@2uncapitalize_asciin@@@@@@@@@@&&&&@@_@@$itero@@@@@^@@@@@@:@@@h@@@@@@@@<!''=!''@@;`@@%iterip@@<@@@@:@@@@@@@@@@@_@@@@@@@@@@@a%((b%((@@`a@@*index_fromq@r@@@@e@@@ @c@@@ o@@@ @@ @@ @@@-)P)P-)P)}@@b@@.index_from_optr@@@@@@@@@@@@&optionL@@@@@@@@@@@@@5*o*o5*o*@@c@@+rindex_froms@@@@@@@@@@@@@@@@@@@@@@<+o+o<+o+@@d@@/rindex_from_optt@@@@@@@@@@@@ E@@@!@@@"@@#@@$@@%@C,,C,,@@e@@%indexu@@@@&@@@@'@@@(@@)@@*@J--J--@@f@@)index_optv@@@@+@@@@,|@@@-@@@.@@/@@0@ M--!M-.@@g@@&rindexw@1@@@1@@@@2(@@@3@@4@@5@9R.n.n:R.n.@@8h@@*rindex_optx@J@@@6@5@@@7E@@@8@@@9@@:@@;@WU..XU./@@Vi@@&to_seqy@H@@@<&Stdlib#Seq!tZ@@@=@@@>@@?@t\//u\//@@sj@@'to_seqiz@e@@@@#Seq!t@@@@B@~@@@A@@C@@@D@@E@b0 0 b0 0/@@k@@&of_seq{@>#Seq!t@@@F@@@G@@@H@@I@g00g00@@l@@/get_utf_8_uchar|@@@@J@@@@Ka%Uchar*utf_decode@@@L@@M@@N@r1V1Vr1V1@@m@@.is_valid_utf_8}@@@@O@@@P@@Q@v11v11@@n@@2get_utf_16be_uchar~@@@@R@@@@S%Uchar*utf_decode@@@T@@U@@V@|2o2o|2o2@@o@@1is_valid_utf_16be@@@@W@@@X@@Y@ 22 23@@ p@@2get_utf_16le_uchar@@@@Z@@@@[%Uchar*utf_decode@@@\@@]@@^@'33(33@@&q@@1is_valid_utf_16le@@@@_@@@`@@a@94(4(:4(4I@@8r@@-edit_distance%limit=@@@b@@@c@7@@@d@<@@@eL@@@f@@g@@h@@i@]44^44@@\s@@*spellcheck(max_dist$@u@@@jf@@@k@@l@@@m@@@@@@n@@@o@@p@@@q@@r@@@@s@@@t@@@u@@v@@w@@x@8888@@t@@)get_uint8@@@@y@@@@z@@@{@@|@@}@?;?;?;?_@@u@@(get_int8@@@@~@@@@@@@@@@@@????@@v@@-get_uint16_ne@@@@@@@@@@@@@@@@@]@]@]@@@w@@-get_uint16_be@@@@@@@@@@@@@@@@AAAA/@@x@@-get_uint16_le@@@@@@@@@@@@@@@@AAAA@@y@@,get_int16_ne@'@@@@@@@@@@@@@@@/BXBX0BXB@@.z@@,get_int16_be@@@@@@3@@@7@@@@@@@@HBBIBC%@@G{@@,get_int16_le@Y@@@@L@@@P@@@@@@@@aCCbCC@@`|@@,get_int32_ne@r@@@@e@@@%int32N@@@@@@@@| DGDG} DGDp@@{}@@$hash@m@@@}@@@@@@DDDD@@~@@+seeded_hash@@@@@@@@@@@@@@@@EEEE@@@@,get_int32_be@@@@@@@@E@@@@@@@@ FF FF@@@@@,get_int32_le@@@@@@@@^@@@@@@@@'GfGf'GfG@@A@@,get_int64_ne@@@@@@@@%int64O@@@@@@@@.HH.HH0@@B@@,get_int64_be@@@@@@@@@@@@@@@@ 5HH 5HH@@ C@@,get_int64_le@@@@@@@@4@@@@@@@@%<IFIF&<IFIo@@$D@@*unsafe_get@6@@@@)@@@%@@@@@@@ː2%string_unsafe_getBA@@@@CGJ3J3DGJ3Ju@@BE@@+unsafe_blit@T@@@@G@@@@@@@@S@@@@Y@@@@@@@@@@@@@@@@֐0caml_blit_stringE@@@@@@@@vHJvJvwJJJ@'noalloc}JJJ~JJJ@@JJJ @@F@@Ӡ#Set@#elt;@@@A I@@@v@@@@ C D@@@@ Yd@A@!t;@@@A@@@@@'set.mliJ U YJ U _@@@@+Stdlib__SetD@A@%empty@@@w@M ~ M ~ @@E@@#add@0@@@x@@@@y@@@z@@{@@|@&P  'P  @@%F@@)singleton@@@@})@@@~@@@7V  8V  @@6G@@&remove@(@@@@<@@@?@@@@@@@@MY 5 9NY 5 R@@LH@@%union@M@@@@R@@@U@@@@@@@@c_]ad_]w@@bI@@%inter@c@@@@h@@@k@@@@@@@@ybzb@@xJ@@(disjoint@y@@@@~@@@$boolE@@@@@@@@ee@@K@@$diff@@@@@@@@@@@@@@@@i(,i(A@@L@@(cardinal@@@@#intA@@@@@@mm@@M@@(elements@@@@$listK@@@@@@@@@rr7@@N@@'min_elt@@@@@@@@@@x x5@@O@@+min_elt_opt@@@@&optionL@@@@@@@@@}}@@P@@'max_elt@@@@@@@@@@@@ Q@@+max_elt_opt@@@@)@@@@@@@@@$%>@@#R@@&choose@$@@@@@@@@@56@@4S@@*choose_opt@5@@@P-@@@@@@@@@KL@@JT@@$find@<@@@@P@@@D@@@@@@@@ab@@`U@@(find_opt@R@@@@f@@@^@@@@@@@@@@@|x|}x@@{V@@*find_first@@o@@@@@@@@@@@@{@@@@@@@@KOKx@@W@@.find_first_opt@@@@@@@@@@@@@@@@@@@@@@@@@RVR@@X@@)find_last@@@@@=@@@@@@@@@@@@@@@@@{{@@Y@@-find_last_opt@@@@@Y@@@@@@@@@@@@@@@@@@@@@@Z@@$iter@@@@@$unitF@@@@@@@@@ @@@@@@@@@@[@@$fold@@@@@@#acc@@@@@@"@@@@  @@@@@@@23@@1\@@#map@@%@@@(@@@@@@<@@@?@@@@@@@@MN@@L]@@&filter@@@@@@@@@@@@X@@@[@@@@@@@@i  j  @@h^@@*filter_map@@\@@@c@@@@@@@@@x@@@{@@@@@@@@"" ""7@@_@@)partition@@|@@@ @@@@@@@@@@@@@@@@@@@ @@ @@ @$;$?$;$i@@`@@%split@@@@ @@@@ @@@@@>@@@@@@@@@@@@@@%Z%^%Z%@@a@@(is_empty@@@@U@@@@@@'$'('$'?@@b@@#mem@@@@@@@@l@@@@@@@@'p't'p'@@c@@%equal@@@@@@@@@@@@@@@ @ '' ''@@d@@'compare@@@@!@@@@"p@@@#@@$@@%@*(_(c+(_(}@@)e@@&subset@*@@@&@/@@@'@@@(@@)@@*@A((B() @@@f@@'for_all@@4@@@+@@@,@@-@L@@@.@@@/@@0@@1@^)f)j_)f)@@]g@@&exists@@Q@@@2@@@3@@4@i@@@5@@@6@@7@@8@{))|)*@@zh@@'to_list@{@@@9s@@@:@@@;@@<@ ** **@@i@@'of_list@Ҡ@@@=@@@>@@@?@@@@$+ + $+ +'@@j@@+to_seq_from@@@@A@@@@B&Stdlib#Seq!t@@@C@@@D@@E@@F@*,,*,,/@@k@@&to_seq@@@@G#Seq!t@@@H@@@I@@J@/,,/,,@@l@@*to_rev_seq@@@@K5#Seq!t@@@L@@@M@@N@3-*-.3-*-M@@m@@'add_seq@K#Seq!t@@@O@@@P@@@@Q @@@R@@S@@T@7--7--@@n@@&of_seq@i#Seq!t@@@U@@@V#@@@W@@X@1;..2;...@@0o@@@@?@e@@@Ӡ#Map@#key;@@@A@@@-@@@@ @@@@f@A@!t;!a@.@A@A@I@B@@@'map.mliI V ZI V e@@@@+Stdlib__MapD@A@%empty!a@/@@@0@L  L  @@E@@#add@<@@@1@!a@3@  @@@2$ @@@4@@5@@6@@7@3O  4O  @@2F@@+add_to_list@@@@8@!a@;@>$listK@@@9@@@:I @@@<@@@=@@>@@?@@@@]X  ^X  @@\G@@&update@I@@@A@@&optionL!a@F@@@B  @@@C@@D@v@@@Ez@@@G@@H@@I@@J@^^@@H@@)singleton@u@@@K@!a@L@@@M@@N@@O@jW[jW{@@I@@&remove@@@@P@!a@R@@@Q@@@S@@T@@U@oo@@J@@%merge@@@@@V@`!a@]@@@W@k!b@_@@@Xt!c@a@@@Y@@Z@@[@@\@@@@^@@@@`@@@b@@c@@d@@e@vY]x@@K@@%union@@@@@f@!a@m@ @@@g@@h@@i@@j@@@@k@@@@l@@@n@@o@@p@@q@)fj*f@@(L@@(cardinal@)!a@r@@@s#intA@@@t@@u@BC@@AM@@(bindings@B!a@w@@@v @>@@@x@@@y@@@z@@{@c8<d8a@@bN@@+min_binding@c!a@}@@@|@[@@@~@@@@@@bfb@@~O@@/min_binding_opt@!a@@@@#@{@@@@@@@@@@@@JNJ|@@P@@+max_binding@!a@@@@@@@@@@@@@@484[@@Q@@/max_binding_opt@!a@@@@`@@@@@@@@@@@@@ @@R@@&choose@ݠ!a@@@@@@@@@@@@@@@@S@@*choose_opt@!a@@@@@@@@@@@@@@@@@@@T@@$find@@@@@!a@@@@@@@@@23@@1U@@(find_opt@@@@@7!a@@@@۠ @@@@@@@@OIMPIs@@NV@@*find_first@@=@@@$boolE@@@@@@\!a@@@@@T@@@@@@@@@@@x  y  D@@wW@@.find_first_opt@@f@@@)@@@@@@!a@@@@'@@@@@@@@@@@@@@@"*"."*"l@@X@@)find_last@@@@@U@@@@@@!a@@@@@@@@@@@@@@@@#_#c#_#@@Y@@-find_last_opt@@@@@|@@@@@@֠!a@@@@z@@@@ɠ@@@@@@@@@@@$y$}$y$@@Z@@$iter@@@@@@!a@$unitF@@@@@@@@ @@@ @@@@@@@@%%%& @@[@@$fold@@ @@@@!a@@#acc@@@@@@@@0@@@@  @@@@@@@A'%')B'3'l@@@\@@#map@@!a@!b@@@@M @@@Q @@@@@@@@`(e(ia(e(@@_]@@$mapi@@N@@@@!a@!b@@@@@@q @@@u @@@@@@@@))))@@^@@&filter@@r@@@@!a@;@@@@@@@@ @@@@@@@@@@@****@@_@@*filter_map@@@@@@!a@O!b@@@@@@@@@@@@ @@@@@@@@ ,, ,,?@@`@@)partition@@@@@@!a@ @@@@@@@@ @@@@@@@ @@@@ @@ @@ @@@.../%@@a@@%split@@@@@!a@@@@@ @@@@@@@@@@@@@@@@@@,$0'0+-$0'0\@@+b@@(is_empty@,!a@@@@@@@@@@C022!D022;@@Bc@@#mem@/@@@@H!a@@@@@@@@@ @@!@_32l2p`32l2@@^d@@%equal@@!a@&@@@@"@@#@@$@m@@@%@s@@@'#@@@(@@)@@*@@+@722723-@@e@@'compare@@!a@0@]@@@,@@-@@.@@@@/@@@@1m@@@2@@3@@4@@5@=4(4,=4(4a@@f@@'for_all@@@@@6@!a@:d@@@7@@8@@9@ @@@;n@@@<@@=@@>@A45A450@@g@@&exists@@@@@?@!a@C@@@@@@A@@B@ @@@D@@@E@@F@@G@F55F55@@h@@'to_list@!a@I@@@H@@@@J@@@K@@@L@@M@M6~6M6~6@@i@@'of_list@ՠ@ @@@N@!a@Q@@O@@@P(@@@R@@S@7Q668Q67@@6j@@&to_seq@7!a@U@@@T&Stdlib#Seq!t@9@@@V@@@W@@@X@@Y@^W77_W77@@]k@@*to_rev_seq@^!a@[@@@Z'#Seq!t@]@@@\@@@]@@@^@@_@[8A8E[8A8n@@l@@+to_seq_from@n@@@`@!a@b@@@aP#Seq!t@@@@c@@@d@@@e@@f@@g@_88_88@@m@@'add_seq@l#Seq!t@@@@h@!a@l@@i@@@j@  @@@kƠ@@@m@@n@@o@d99d99@@n@@&of_seq@#Seq!t@@@@p@!a@s@@q@@@r@@@t@@u@h::h::>@@o@@@@@g@@@Ӡ#Tbl@#key;@@@A@@@@@@@  $  5@@@@h@A@!t;!a@@A@A@O@B@@@+hashtbl.mliw<<w<<@@@@/Stdlib__Hashtbld@A@&create@#intA@@@!!a@@@@@@@x<<#x<<;@@e@@%clear@!a@@@@$unitF@@@@@@5y<<<@6y<<@@Sp@@2filter_map_inplace@@@@@@!a@@@@@@@@@^@@@F@@@@@@@@y>>z>C>M@@xq@@$fold@@@@@@!a@@#acc@@@@@@@@@@@@  @@@@@@@>f>j>u>@@r@@&length@!a@@@@@@@@@@>>>>@@s@@%stats@!a@@@@*statistics@@@@@@>>>>@@t@@&to_seq@Ơ!a@ @@@&Stdlib#Seq!t@w@@@ @@@ @@@ @@ @????+@@u@@+to_seq_keys@@@@@@%#Seq!t@@@@@@@@@?D?H?D?j@@v@@-to_seq_values @ !a@@@@C#Seq!t @@@@@@,??-??@@+w@@'add_seq @$!a@@@@@`#Seq!t@@@@@@@@@@#@@@@@@@@V??W??@@Ux@@+replace_seq @N!a@ @@@@#Seq!t@@@@!@@@"@@@#M@@@$@@%@@&@@@@@E@@y@@&of_seq @#Seq!t@@@@'@!a@*@@(@@@)@@@+@@,@@^@b@^@@@z@@@@q  @i@@@%print@p&Format)formatter@@@@@@@f@@@@@@@@ 7 ; 7 d@@j@@'for_all@@$charB@@@@@@@@@@@@@@@@@@@@ f j f @@k@@@@pr  @l@@@'compare?@!a@g@x@@@h@@i@@j(%compareBA @@@@    @@m@@@@q  @n@@@,find_in_path@-@@@@@@@@@@@@@@@@@@!!!!2@@o@@0find_in_path_rel@K@@@@@@@ @@@@@@@@@@@ !j!j !j!@@ p@@8normalized_unit_filename@@@@&Result!t*@@@ڠ/@@@@@@@@@*"r"r+"r"@@@q@@7find_in_path_normalized@C@@@@@@@J@@@N@@@@@@@@H""I""@@^r@@+remove_file@]@@@6@@@@@@[##\##@@qs@@0expand_directory@p@@@@v@@@z@@@@@@@@t$V$Vu$V$@@t@@3split_path_contents#sep:@@@@@@@@@@@@@@@@@@@@@%%%%S@@u@@)copy_file@*in_channel@@@@+out_channel@@@@@@@@@@@&&&&@@v@@/copy_file_chunk@*in_channel@@@@+out_channel@@@@@@@@@@@@@@@@@'F'F'F'@@w@@.string_of_file@*in_channel@@@@@@@@@(-(-(-(U@@x@@@@?K@@@@@@A@T44T44I@@J@@0search_substring@@@@B@@@@C@f@@@Dj@@@E@@F@@G@@H@i7575i757i@@K@@1replace_substring&before@@@I%after@@@J@@@@K@@@L@@M@@N@@O@o8`8`o8`8@@L@@/rev_split_words@@@@P<@@@Q@@@R@@S@t9R9Rt9R9|@@M@@&cut_at@@@@T@j@@@U@@@@W@@@@V@@X@@Y@@Z@x::x::.@@*N@@.ordinal_suffix@@@@[-@@@\@@]@';;(;;@@=O@@-normalise_eol@<@@@^@@@@_@@`@:<<;<=@@PP@@1delete_eol_spaces@O@@@aS@@@b@@c@M==N=>$@@cQ@@-ref_and_value;@@!RQ#ref!a@d@@@e@@@@fm>?n>? @@S@@@A@@@@@q>>@@@@R@A@,protect_refs@Ϡ@@@g@@@h@@f@@@i!a@k@@j@@l@@m@?"?"?"?]@@T@@'get_ref@#ref!a@p@@@n@@@o @@@q@@r@@L@L@L@o@@U@@-set_or_ignore@@!a@xx!b@u@@@s@@t@#ref@@@v@@@w@@@@y@@z@@{@@|@@@@A3@@V@@$fst3@@!a@@!b@~@!c@}@@@@@AAAB @@W@@$snd3 @@!a@@!b@@!c@@@ @@@BBBB*@@/X@@$thd3!@@!a@@!b@@!c@@@@@@8B+B+9B+BG@@NY@@$fst4"@@!a@@!b@@!c@@!d@@@@@@]BIBI^BIBj@@sZ@@$snd4#@@!a@@!b@@!c@@!d@@@@@@BkBkBkB@@[@@$thd4$@@!a@@!b@@!c@@!d@@@ @@@BBBB@@\@@$for4%@@!a@@!b@@!c@@!d@@@@@@BBBB@@]@@-edit_distance&@@@@@@@@@@@@@@@@@@@@@@@@@CCCCG@@^@@*spellcheck'@O @@@@@@@@@@^@@@@@@@@@@@E1E1E1Ef@@)_@@*align_hint(&prefix*@@@$main*Format_doc!t@@@$hint !t@@@@!t@@@@!t@@@@@@@@@@@@LFhFhMFF@@b`@@0align_error_hint)$main1!t@@@$hint;!t@@@@E!t@@@@M!t@@@@@@@@@@{JJ|JJ@@a@@,aligned_hint*&prefix@@@@f)formatter@@@@'format4!a@̠x)formatter@@@ʠ@@@ɠ@g!t@@@@@@@@@@@@@@#@@@@@@@KKKKK@@b@@,did_you_mean+"pp'printer@@@@@@@@@@0@@@@@@!t@@@@@@@@@@@LHLHL[L@@ c@@Ӡ%Color,@'setting;@@$AutoF@@ MM MM@@ e@&AlwaysG@@ MM MM@@ $f@%NeverH@@ MM MM@@ -g@@@A@@@@@ MM@@A@ 0d@A@/default_setting*@@@@ 'MM (MM@@ =h@@*is_enabled@ @@@@@@@@@ :MM ;MN@@ Pi@@@@ >MM ?NN@ Tj@@@Ӡ%Style-@%color;@@%BlackM@@ S N^Nb T N^Ni@@ il@#RedN@@ \ NjNn ] NjNs@@ rm@%GreenO@@ e NtNx f NtN@@ {n@&YellowP@@ n NN o NN@@ o@$BlueQ@@ w NN x NN@@ p@'MagentaR@@ NN NN@@ q@$CyanS@@ NN NN@@ r@%WhiteT@@ NN NN@@ s@@@A@@@@@ NONQ@@A@ k@A@%style;@@"FGV^@@@p@@ NN NN@@ u@"BGW@@@o@@ NN NO@@ v@$BoldX@@ OO OO@@ w@%ResetY@@ OO" OO)@@ x@@@A@@@@@ NN@@@@ t@A@ %Style# &Format$stag@ .F@@@q@@@r@@A @ y@@@/ansi_of_style_l@ ?@@@s@@@t @@@u@@v@ OUOW OUO@@! z@@)tag_style;@@$ansi]@@ Y+@@@y@@@z! OO!OO@@!#|@)text_open^@@!@@@x!OO!OO@@!/}@*text_close_@@!+@@@w!%OO!&OP @@!;~@@@A@@@@@!)OO!* P P @@@@!?{@A@&styles;@@%errora@@=@@@!;#P!P%!<#P!P6@@!Q@'warningb@@ @@@~!F$P7P;!G$P7PN@@!\@#locc@@@@@}!Q%POPS!R%POPb@@!g@$hintd@@"@@@|!\&PcPg!]&PcPw@@!r@+inline_codee@@-@@@{!g'PxP|!h'PxP@@!}@@@A@@@@@!k"PP!l(PP@@@@!@A@$hint@N)formatter@@@![@@@@@@!*PP!*PP@@!@@.as_inline_code@c'printer!a@@@@n'printer @@@@@@!+PP!+PQ@@!@@+inline_code~'printer!@@@@@@@!,QQ !,QQ3@@!@@.default_styles@@@@!.Q5Q7!.Q5QQ@@!@@*get_styles@!@@@@@@@@@!/QRQT!/QRQr@@!@@*set_styles@!@@@!@@@@@@!0QsQu!0QsQ@@!@@%setup @!'setting@@@@@@!@@@@@@!2QQ!2QQ@@"@@0set_tag_handling!@!&Format)formatter@@@!@@@@@@"7RR"7RR@@"(@@@@"N<N<"9RR@",@@@Ӡ+Error_style.@'setting";@@*Contextualp@@"+>SGSK",>SGSW@@"A@%Shortq@@"4?SXS\"5?SXSc@@"J@@@A@@@@@"8=S6S8@@A@"M@A@/default_setting#!@@@n@"DASeSg"EASeS@@"Z@@@@"H<SS"IBSS@"^@@@(print_if/@"H&Format)formatter@@@@"P#ref!B@@@@@@@@"_&Format)formatter@@@@!a@"V@@@@@@@@  @@@@@@@@@"}FSS"~GST@@"@@0print_see_manual0^'printer!!H@@@@@@@@@@"JTVTV"JTVT@@"@@4show_config_and_exit1@"@@@"@@@@@@"OTT"OTT@@"@@=show_config_variable_and_exit2@"@@@"@@@@@@"SUU"SUU@@"@@9get_build_path_prefix_map3@"@@@"5Build_path_prefix_map#map@@@@@@@@@"\VV"\VW @@"@@6debug_prefix_map_flags4@"@@@";"@@@@@@@@@"`WfWf"`WfW@@#@@Ӡ,Magic_number5@1native_obj_config$;@@'flambda@@!@@@ #a&a*# a&a9@@#@@@A@@@@@# a a # a:a=@@@A#"@A@1native_obj_config%@@@!@#bb#bb=@@#/@@'version&;@@@A!@@@"@@@@#(bb#)bb@@A@#>@A@$kind';@@$Exec@@#7bb#8bb@@#M@#Cmi@@#@bb#Abb@@#V@#Cmo@@#Ibb#Jbb@@#_@#Cma@@#Rbb#Sbb@@#h@#CmxG@@@$@@#_bb#`bb@@#u@$CmxaT@@@#@@#lbb#mbc@@#@$Cmxs@@#ucc#vcc@@#@#Cmt@@#~cc#cc$@@#@(Ast_impl@@#cc%#cc/@@#@(Ast_intf@@#cc0#cc:@@#@@@A@@@@@#bb@@@@#@A@$info(;@@$kind@@v@@@&#cLcP#cLc[@@#@'version@@@@@%#c\c`#c\cq@@#@@@A@@@@@#c<c>#dd@@@@#@A@#raw);@@@A#@@@'@@@@#dd#dd@@@@#@A@+parse_error*;@@)Truncated#@@@)@@#eUeY#eUen@@#@2Not_a_magic_number#@@@(@@#eoes#eoe@@#@@@A@@@@@#e@eB@@@@#@A@3explain_parse_error+@#W@@@*@@@+@7@@@,$ @@@-@@.@@/@$ee$ee@@$@@%parse,@Y@@@0$ &result@@@2!@@@1@@@3@@4@$#ff$$ff@@$9@@)read_info-@$"*in_channel@@@5$'&result@@@7>@@@6@@@8@@9@$@ff$Afg*@@$V@@,magic_length.#@@@:@$Mi-i/$Ni-iE@@$c@@*unexpected/;!a@;@A(expected@@ $`ii$aii@@$v@&actual@@$hii$iii@@$~@@@A@Y@@@@@$nii$oii@@@@$@A@0unexpected_error0;@@$Kind.@@@?@@@@@@$jj $jj$@@$@'Version@@@>@@@<@@@=@@$j%j)$j%jO@@$@@@A@@@@@$ii@@@@$@A@-check_current1@@@@A@@@@B$&result$@@@DJ@@@C@@@E@@F@@G@$jQjS$jQj@@$@@8explain_unexpected_error2@@@@H$@@@I@@J@$kk$kkS@@$@@%error3;@@+Parse_error@@@L@@$kk$kk@@$@0Unexpected_error4@@@K@@$kk$kk@@%@@@A@@@@@$kk@@@@% @A@1read_current_info4-expected_kind$e@@@M@@@N@%*in_channel@@@O%&result@@@QE@@@P@@@R@@S@@T@%kk% llJ@@%5@@.string_of_kind5@@@@U%7@@@V@@W@%1m(m*%2m(mM@@%G@@2human_name_of_kind6@@@@X%I@@@Y@@Z@%Cmm%Dmm@@%Y@@+current_raw7@@@@[@@@@\@@]@%TnYn[%UnYnx@@%j@@/current_version8@@@@^@@@_@@`@%enn%fnn@@%{@@(raw_kind9;@@@A%z@@@a@@@@%t oMoO%u oMoe@@@@%@A@*parse_kind:@@@@b%<@@@c@@@d@@e@%oo%oo@@%@@(raw_kind;@@@@f@@@g@@h@%pp%pp1@@%@@#raw<@@@@i@@@j@@k@%q\q^%q\qs@@%@@)all_kinds=% @@@l@@@m@%(s5s7%(s5sP@@%@@@@%fXSXS%)sQsT@%@@@Ӡ+Utf8_lexeme6@!t>;@@@A%@@@@@@@%5tt%5tt@@@@%@A@)normalize?@%@@@%&Result!t"@@@@@@@@@@@@%7tt%7tu@@& @@*capitalize@@& @@@%&Result!t@@@#@@@@@@@@@&>uu&>uv"@@&*@@,uncapitalizeA@&)@@@&&Result!t=@@@ A@@@@@@ @@ @&2Cvv&3Cvw@@&H@@.is_capitalizedB@P@@@ %!@@@ @@@&DHww&EHwx@@&Z@@3is_valid_identifierC@b@@@%3@@@@@@&VMxx&WMxx@@&l@@,is_lowercaseD@t@@@%E@@@@@@&hSyy&iSyy@@&~@@1validation_resultE;@@%Valid@@&wYzz&xYzz@@&@1Invalid_character&v%Uchar!t@@@@@&Zzz&Zzz@@&@1Invalid_beginningߐ&%Uchar!t@@@@@&[zz&[z{ @@&@@@A@@@@@&Xzz@@@@&@A@3validate_identifierF(with_dot&b%@@@@@@@@@@K@@@@@@@@&]{;{=&]{;{~@@&@@>starts_like_a_valid_identifierG@@@@%@@@@@@&a||&a||B@@&@@@@&4tt&e||@&@@@(filepath7;@@@A&@@@@@@@&i}!}!&i}!}7@@@@&@A@'modname8;@@@A&@@@@@@@&j}8}8&j}8}M@@@@'@A@$crcs9;@@@A&M@@@@@&'&Digest!t@@@@@@@@@@@@@@@'k}N}N'k}N}z@@@@'*@A@&alerts:;@@@A%9&String#Map!t'3@@@@@@@@@@'.m}|}|'/m}|}@@@@'D@A@@FU@$Misc0ob]6>Vê>-Stdlib__Uchar056uf4[_.Stdlib__String0@A@&stringQ;@@ A@@@@@B@@@%bytesC;@@ A@@@@@F@@@%floatD;@@A@@@@@J@@@$boolE;@@%falsec@@T@$trued@@Z@@@A@@@@@[@A@$unitF;@@"()e@@e@@@A@@@@@f@A@ #exnG;@@@A@@@@@j@@@#effH;@@O@A@A@@@@@@s@@@,continuationI;@@Q@@P@B@A@nY@@@@@@@@@%arrayJ;@@R@A@A@@@@@@@@@ $listK;@@S@A"[]f@@@"::g@@@T@@@ @@A@Y@@@@@@@@&optionL;@@V@A$Noneh@@@$Somei@@@@@A@Y@@@@@@@@)nativeintM;@@A@@@@@@@@%int32N;@@A@@@@@@@@%int64O;@@A@@@@@@@@&lazy_tP;@@X@AJA@Y@@@@@@@@5extension_constructorR;@@A@@@@@@@@*floatarrayS;@@A@@@@@@@@&iarrayT;@@Y@A[A@Y@@@@@@@@*atomic_locU;@@Z@AdA@@@@@@@@@.Assert_failure`#@@@@@J@@@@@@@@[@@A=ocaml.warn_on_literal_pattern @ @0Division_by_zero]#@@@A  @+End_of_file\#$@@@A@'FailureY#,@'@@A!$$@0Invalid_argumentX#5@0@@A*$-#-@-Match_failureV#>@@=@9@;@@a@@A;5>4>@)Not_foundZ#O@@@AC=F<F@-Out_of_memoryW#W@@@AKENDN@.Stack_overflow^#_@@@ASMVLV@.Sys_blocked_io_#g@@@A[U^T^@)Sys_error[#o@j@@Ad^g]g@:Undefined_recursive_modulea#x@@w@s@u@@h@@Auoxnx@:Continuation_already_takenb#@@@A}wv@&Stdlib@Ax< {1 Reporting fatal errors} WW@@@@@@+fatal_errorYY@б@гe&stringYY@@ @@@@@А!a@A@YY@@@ @@@@@Y@)ocaml.docÐ : Raise the [Fatal_error] exception with the given string. ZZB@@@@@@@@@@@Ԑ@@@@@@,fatal_errorf\DH\DT@б@гj'format4\Dw\D~@А!a@ A@3@c@@A\DW\DY@@г&Format)formatter\D[\Da@ \Db\Dk@@@@@@  @@г$unit\Dm\Dq@@ @@@ )@@А!b@ A@ 3!\Ds"\Du@@@H>"@@@ =+\DVI@@А!aGB0\D1\D@@@L@@ G @@@7\DD@ t Format the arguments according to the given format string and raise [Fatal_error] with the resulting string. D]E^@@@@@@@]A@@@X@@@@@@f+Fatal_errorA\` ]`@#y@@@Aa`@@yB@@@@@@3baabbbbb@y2@A @{z ! {1 Exceptions and finalization} wbxb?@@@@@@3vuuvvvvv@#@A+try_finallydAEdAP@б&alwaysб@г?$uniteS^eSb@@ @@@ @@гL$uniteSfeSj@@ @@@ +@@@@@ .@@б-exceptionallyб@гb$unitfofo@@ @@@ A@@гo$unitfofo@@ @@@ N@@@@@ Q@@б@б@г$unitgg@@ @@@ b@@А!a@ B@ kgg@@@ @@ p@@А!atgg@@@ @@ yg@@L\2@@@  @@ foq@@x ]@@@ @@ eSU@@ @dAA@V  [try_finally work ~always ~exceptionally] is designed to run code in [work] that may fail with an exception, and has two kind of cleanup routines: [always], that must be run after any execution of the function (typically, freeing system resources), and [exceptionally], that should be run only if [work] or [always] failed with an exception (typically, undoing user-visible state changes that would only make sense if the function completes correctly). For example: {[ let objfile = outputprefix ^ ".cmo" in let oc = open_out_bin objfile in Misc.try_finally (fun () -> bytecode ++ Timings.(accumulate_time (Generate sourcefile)) (Emitcode.to_file oc modulename objfile); Warnings.check_fatal ()) ~always:(fun () -> close_out oc) ~exceptionally:(fun _exn -> remove_file objfile); ]} If [exceptionally] fail with an exception, it is propagated as usual. If [always] or [exceptionally] use exceptions internally for control-flow but do not raise, then [try_finally] is careful to preserve any exception backtrace coming from [work] or [always] for easier debugging. hE k m@@@@@@@-C@@)@f(@@@@@@E@@*@w9@@@@@@+rev_map_end<P  =P  @б@б@А!a@ B@ 3GFFGGGGG@6@AMP  NP  @@А!b@ B@  XP  YP  @@@ @@ @@б@г⠐$listfP  gP  @А!a'"mP  nP  @@@-@@@ ) @@б@г$list}P  ~P  @А!b19P  P  @@@7@@@ @ @@г$listP  P  @А!bFNP  P  @@@L@@@ U @@@@@ X@@@6@@ [9@@@N@@ ^P  @@@P  @ > [map_end f l t] is [map f (rev l) @ t], just more efficient. Q  'Q  j@@@@@@@F@@*@ ͐@@@@@@~.map_left_rightS l pS l ~@б@б@А!a@ B@ 3@6@AS l S l @@А!b@ B@  S l S l @@@ @@ @@б@гv$listS l S l @А!a'"S l S l @@@-@@@ ) @@г$listS l S l @А!b/7S l S l @@@5@@@ > @@@@@ A@@@4@@ D#S l @@@&S l l@u A Like [List.map], with guaranteed left-to-right evaluation order 3T  4T  @@@@@@@LG@@'@G@@@@@@d(for_all2JV  KV  @б@б@А!a@ !B@ 3UTTUUUUU@{6@A[V  \V @@б@А!b@ #B@ hV iV @@г/$boolqV  rV @@ @@@ @@@@@ !@@@)@@ $" @@б@г$listV V @А!a94V V @@@?@@@ ; @@б@г$listV "V &@А!bAKV V !@@@G@@@ R @@гp$boolV *V .@@ @@@ _@@@@@ b@@@.@@ e1 @@@F@@ hV  @@@V  @ Same as [List.for_all] but for a binary predicate. In addition, this [for_all2] never fails: given two lists with different lengths, it returns false. W/6Y@@@@@@@H@@"@#吠@@@@@@.replicate_list[[@б@А!a@ +B@ $3@4@A[[@@б@гՠ#int[[@@ @@@ %@@г$list[[@А!a&![ [@@@,@@@ '( @@@@@ (+@@@3@@ ).,@@@%[@t [ [replicate_list elem n] is the list with [n] elements all identical to [elem]. 2\3]U{@@@@@@@KI@@&@F@@@@@@M+list_removeI_}J_}@б@А!a@ 4B@ ,3RQQRRRRR@bs4@AX_}Y_}@@б@гߠ$listc_}d_}@А!aj_}k_}@@@@@@ . @@г$listx_}y_}@А!a.)_}_}@@@4@@@ 00 @@@@@ 13@@@;@@ 264@@@_}}@ݐ a [list_remove x l] returns a copy of [l] with the first element equal to [x] removed. `a@@@@@@@J@@&@@@@@@@U*split_last cc$@б@г9$listc)c-@А!a@ =B@ 53@t>@Ac&c(@@@ @@@ 7 @@В@гY$listc4c8@А!a c1c3@@@&@@@ 9" @@@А!a-(c;c=@@@@@6@@ :1@@@/ @@ ;42 @@@c@N C Return the last element and the other elements of the given list.  d>E d>@@@@@@@%K@@@^ @@@@@@S.repeated_labelà#f$f@б@г$list.f/f@В@г&option<f=f@г&stringFfGf@@ @@@ >3HGGHHHHH@P@A@@@ @@@ @ @@@А!a@ JB@ A^f_f@@@@@@@ B!@@@@ @@@ D lf>@@гӠ&optiontfuf@гH&string~ff@@ @@@ E8@@@@@@ G= @@@$@@ H@ @@@f@ݐ 9 Detects a repeated label - for use with labeled tuples. gg@@@@@@@L@@*@@@@@@@_; {1 Hash table operations} ii6@@@@@@3@q1@A0create_hashtablek8<k8L@б@г#intk8Nk8Q@@ @@@ K@@б@г[$listk8_k8c@В@А!a@B@ L3k8Vk8X@@@А!b@B@ M@k8[k8]@@@@@@@ NI@@@- @@@ PN k8U+@@г'Hashtbl!tk8pk8w@ k8xk8y@@А!a8f"k8h#k8j@@А!b2m)k8l*k8n@@@ E9@@@u1k8g@@@/ @@y+@@@e@@|h@@@:k88 @ a Create a hashtable with the given initial size and fills it with the given bindings. GlzHm@@@@@@@`M@@0@[@@@@@@ih ( {1 Extensions to the standard library} eofo@@@@@@3dccddddd@1@A&StdlibBsqtq%@n@@Б$ListCtV_tVc@\@@БA+!tDujvujw@А!a@3@6;@@@A@A@@@@@@G@B@@@ujnuj@@@@N@@Aujsuju@@BA@; @A@A>(E@@@@Y@@@@@@@@@@Aг $listuj}@А!a4ujzuj|@@@7#@@%@@3@m@A&%@'compareww@б@б@А!a@E@3@`7@Aww@@б@А!a ww@@гӠ#int w w@@ @@@@@@!@@@@@$@@ @@б@г!t w w@А!a4/ w w@@@:@@@6 @@б@г!t ,w -w@А!aKF 3w 4w@@@Q@@@M @@г #int Aw Bw@@ @@@Z@@@@@]@@@.@@`1 @@@F@@c Pw@@@ Sw@  The lexicographic order supported by the provided order. There is no constraint on the relative lengths of the lists.  `x ayF@@@@@@@ yO@@"@ t@@@@@@%equal w{HP x{HU@б@б@А!a@E@3        @6@A {HY {H[@@б@А!a  {H_ {Ha@@г W$bool {He {Hi@@ @@@@@@!@@@@@$@@ @@б@г!t {Hq {Hr@А!a4/ {Hn {Hp@@@:@@@6 @@б@г3!t {Hy {Hz@А!aKF {Hv {Hx@@@Q@@@M @@г $bool {H~ {H@@ @@@Z@@@@@]@@@.@@`1 @@@F@@c {HX@@@ {HL@; Returns [true] if and only if the given lists have the same length and content with respect to the given equality function.  | }@@@@@@@ P@@"@K @@@@@@=some_if_all_elements_are_some  8@б@г!t E F@г &option %> &D@А!a@E@3 - , , - - - - -@H@A 3; 4=@@@ @@@ @@@&@@@ #@@г &option FO GU@г!t PM QN@А!a+& WJ XL@@@1@@@- @@@@@@2 @@@+@@53@@@ h"@ If all elements of the given list are [Some _] then [Some xs] is returned with the [xs] being the contents of those [Some]s, with order preserved. Otherwise return [None].  uVZ v@@@@@@@ Q@@2@ @@@@@@T+map2_prefix ' 2@б@б@А!a@E@3        @k6@A 6 8@@б@А!b@E@ < >@@А!c@E@ B D@@@ @@@@@'@@" @@б@г4!t L M@А!a72 I K@@@=@@@9 @@б@гK!t T U@А!b?I Q S@@@E@@@P @@В@гd!t ] ^@А!cMb Z \@@@S@@@i @@@г{!t d e@А!boy a c@@@u@@@ @@@@ @ @@%@@@> @@A %f@@@Y@@\@@@q@@ ,5@@@ /# @ ~ [let r1, r2 = map2_prefix f l1 l2] If [l1] is of length n and [l2 = h2 @ t2] with h2 of length n, r1 is [List.map2 f l1 h1] and r2 is t2.  <gk = @@@@@@@ UR@@@  P@@@@@@&iteri2 S  T @б@б@г 3#int `  a "@@ @@@3 b a a b b b b b@:@A@@б@А!a@E@  s & t (@@б@А!b@E@  ,  .@@г 6$unit  2  6@@ @@@)@@@@@,@@@'@@/" @@@5@@28@@б@г $list  >  B@А!a:B  ;  =@@@@@@@I @@б@г 4$list  I  M@А!bDY  F  H@@@J@@@` @@г z$unit  Q  U@@ @@@m@@@@@p@@@.@@s1 @@@F@@v  @@@  @ . | Same as {!List.iter2}, but the function is applied to the index of the element as first argument (counting from 0)  VZ @@@@@@@ S@@"@ > @@@@@@(split_at  @б@г ᠐#int  @@ @@@3        @8@A@@б@г!t  @А!a@E@ + ,@@@ @@@ @@В@г!t = >@А!a0 D E@@@$@@@ 7 @@@г !t T  U @А!a5G [ \@@@;@@@N @@@@ @ @@U%@@@> @@XA@@@^@@[a@@@ q@ [split_at n l] returns the pair [before, after] where [before] is the [n] first elements of [l] and [after] the remaining ones. If [l] has less than [n] elements, raises Invalid_argument.  ~  @@@@@@@ T@@-@  @@@@@@z)chunks_of  @б@г s#int  @@ @@@3        @8@A@@б@г!t  @А!a@E@  @@@ @@@@@г9!t    @гC!t    @А!a$6  @@@*@@@= @@@@@@B @@@+@@E.@@@K@@HN"@@@ %@ ? [chunks_of n t] returns a list of nonempty lists whose concatenation is equal to the original list. Every list has [n] elements, except for possibly the last list, which may have fewer. [chunks_of] raises if [n <= 0].     @@@@@@@ U@@5@ O @@@@@@g)is_prefix    @б%equalб@А!a@-E@ 3 !   ! ! ! ! !@8@A '- (/@@б@А!a  /3 05@@г $bool 89 9=@@ @@@!@@@!@@"@@@$@@# @@б@г ɠ$list M?K N?O@А!a4/ T?H U?J@@@:@@@%6 @@б#of_г ⠐$list fP` gPd@А!aMH mP] nP_@@@S@@@'O @@г 9$bool {en |er@@ @@@(\@@&@@)_ PY @@@1@@*c4 @@rI@@+f &@@@  @ ݐ Returns [true] if and only if the given list, with respect to the given equality function on list members, is a prefix of the list [of_].  sw @@@@@@@ V@@#@  @@@@@@A+  @@Z@@@@@_@@@@@9@@@6@#00(Fa@'@@Ш@г3$listFgFk@А!a;WFdFf@@@BZ @@E@@3]@>@#::2m@1@@Ш@г=$list'm(m@А!aEp.m/m@@@Ls @@O@@9v@H@#DD<7@;@@Ш@гG$list@A@А!aOGH@@@V @@Y@@?@R@@@@@@3IHHIIIII@@A@ #find_and_chop_longest_common_prefixVW @б%equalб@А!a@aF@S3cbbccccc@@Ai j @@б@А!a q !r #@@г8$boolz '{ +@@ @@@T@@@!@@U@@@$@@V @@б%firstг $list-?-C@А!a61-<->@@@<@@@X8 @@б&secondг&$listDWD[@А!aOJDTDV@@@U@@@ZQ @@г @@s@@@t@bG@B@@@@@@@]@@A@@@;B@AAIH@e@@@gY@@@@@@@@@@Aг &option@А!aU@@@X!@@#@@3@X@A$#@%print@б@б@гB&Format)formatter@ @@@@@@w3@~C@A @@б@А!a@H@x @@г$unit@@ @@@y@@@@@z@@@%@@{"- @@б@г|&Format)formatter@ @@@@@@|: @@б@г̠!t + ,@А!aBJ(*@@@H@@@~Q @@г͠$unit -6!-:@@ @@@^@@@@@a@@@-@@d5 @@@G@@g/@@@2@@J^@@@@n@A@ @@365566666@s @A398899999@@A>?;@@@P % {2 Extensions to the Option module} MqqNq@@@@@@@P@@%ArrayH\lu]lz@uc@@Б'exists2jk@б@б@А!a@I@3uttuuuuu@/O@CA@P@@ΐ?>@>>@@@>@>@;X@A@@б@А!b@I@@@г_$bool@@ @@@.@@@@@1@@@9@@4" @@б@г<%array@А!aID@@@O@@@K @@б@гS%array@А!bA[@@@G@@@b @@г$bool@@ @@@o@@@@@r@@@.@@u1 @@@F@@x@@@@C 4 Same as [Array.exists2] from the standard library. @@@@@@@`@@"@S@@@@@@(for_alli @б@б@г#int%&@@ @@@3'&&'''''@:@A@@б@А!a@I@ 8 9"@@г$boolA&B*@@ @@@@@@@@@@@%@@"( @@б@гܠ%arrayV2W7@А!a*2]/^1@@@0@@@9 @@г)$boolk;l?@@ @@@F@@@@@I@@@,@@Lw @@@z @ɐ Same as [Array.for_all] from the standard library, but the function is applied with the index of the element as first argument, and the element itself as second argument. @D@@@@@@@a@@@@@@@@@l)all_somes@б@г/%array%*@г&option$@А!a@I@3@H@A@@@ @@@ @@@&@@@ #@@г3&option7=@гd%array16@А!a+&.0@@@1@@@- @@@@@@2 @@@+@@53@@@ "@@b@@$@@;@ @@e @@3@Bg @A 3@@Al}>C@@T $ {2 Extensions to the Array module} BBBk@@@@@@@ln@@&StringI"py#p@;l@@БДР&String56@@.Stdlib__String398899999@@P@0@R@@?>@>>@@@>@>@;@@@!t;@@@A&stringQ@@@2@@@@*string.mliK  K  @@@@.Stdlib__String@@A@$make@#intA@@@1@$charB@@@0!@@@/@@.@@-@N   N  =@@A@@$init@@@@,@@%@@@+!@@@*@@)@@@@(@@'@@&@>T  ?T @@=B@@%emptyM@@@%@K[L[@@JC@@&length@\@@@$M@@@#@@".%string_lengthAA @@@ca((da(Z@@bD@@#get@t@@@!@g@@@ c@@@@@@@0%string_safe_getBA@@@@dd@@E@@(of_bytes@%bytesC@@@@@@@@@juuju@@F@@(to_bytes @@@@@@@@@@qq@@G@@$blit @@@@@@@@@4@@@@@@@@@@@$unitF@@@@@@@@@@@ @@ @xy@@H@@&concat @@@@ @$listK@@@ @@@ @@@@@@@@sss@@I@@#cat @@@@@ @@@@@@@@@@@ttt@@J@@%equal @(@@@@@@@$boolE@@@@@@@@)rr*r@@(K@@'compare@@@@@@@@/@@@@@@@@@A*@@?L@@+starts_with&prefixS@@@@Y@@@4@@@@@@@@[\%@@ZM@@)ends_with&suffixn@@@@t@@@O@@@@@@@@vw@@uN@@-contains_from@@@@@z@@@@x@@@n@@@@@@@@@@RRR@@O@@.rcontains_from@@@@@@@@@@@@@@@@@@@@@@666h@@P@@(contains@@@@@@@@@@@@@@@@000U@@Q@@#sub@@@@@@@@@@@@@@@@@@@@@@@@R@@-split_on_char@@@@@@@@ @@@@@@@@@@@  @@ S@@#map@@@@@@@@@@@'@@@+@@@@@@@@)aa*a@@(T@@$mapi@@)@@@@'@@@+@@@@@@@@L@@@P@@@@@@@@NOE@@MU@@)fold_left@@#acc@@L@@@ @@@@@ @o@@@@@@@@@@mn@@lV@@*fold_right@@e@@@@#acc@@@@@@@@@@  @@@@@@@@@W@@'for_all@@@@@z@@@@@@@@@@@@@@@@@ V V V @@X@@&exists@@@@@@@@@@@@@@@@@@@@@@   !@@Y@@$trim@@@@@@@@@@!!!!@@Z@@'escaped@@@@@@@@@@"H"H"H"f@@[@@/uppercase_ascii@@@@@@@@@@$y$y$y$@@\@@/lowercase_ascii@@@@@@@@@@ %E%E %E%k@@]@@0capitalize_ascii @'@@@+@@@@@@)&&*&&8@@(^@@2uncapitalize_ascii!@:@@@>@@@@@@<&&=&&@@;_@@$iter"@@4@@@}@@@@@@Y@@@@@@@@@@@[!''\!''@@Z`@@%iteri#@@[@@@@Y@@@@@@@@@@@~@@@@@@@@~@@}@%((%((@@a@@*index_from$@@@@|@@@@{@@@@z@@@y@@x@@w@@v@-)P)P-)P)}@@b@@.index_from_opt%@@@@u@@@@t@@@@s&optionL@@@r@@@q@@p@@o@@n@5*o*o5*o*@@c@@+rindex_from&@@@@m@@@@l@@@@k@@@j@@i@@h@@g@<+o+o<+o+@@d@@/rindex_from_opt'@@@@f@@@@e@@@@dE@@@c@@@b@@a@@`@@_@C,, C,,@@e@@%index(@@@@^@@@@]@@@\@@[@@Z@!J--"J--@@ f@@)index_opt)@2@@@Y@@@@X|-@@@W@@@V@@U@@T@?M--@M-.@@>g@@&rindex*@P@@@S@;@@@RG@@@Q@@P@@O@XR.n.nYR.n.@@Wh@@*rindex_opt+@i@@@N@T@@@Md@@@L@@@K@@J@@I@vU..wU./@@ui@@&to_seq,@g@@@H&Stdlib#Seq!ty@@@G@@@F@@E@\//\//@@j@@'to_seqi-@@@@D#Seq!t@@@@B@@@@C@@A@@@@@@?@b0 0 b0 0/@@k@@&of_seq.@>#Seq!t@@@>@@@=@@@<@@;@g00g00@@l@@/get_utf_8_uchar/@@@@:@@@@9a%Uchar*utf_decode@@@8@@7@@6@r1V1Vr1V1@@m@@.is_valid_utf_80@@@@5@@@4@@3@v11v11@@n@@2get_utf_16be_uchar1@@@@2@@@@1%Uchar*utf_decode@@@0@@/@@.@|2o2o|2o2@@o@@1is_valid_utf_16be2@ @@@-@@@,@@+@+22,23@@*p@@2get_utf_16le_uchar3@@@@*@.@@@)%Uchar*utf_decode@@@(@@'@@&@F33G33@@Eq@@1is_valid_utf_16le4@7@@@%1@@@$@@#@X4(4(Y4(4I@@Wr@@-edit_distance5%limit\@@@"@@@!@V@@@ @[@@@k@@@@@@@@@@|44}44@@{s@@*spellcheck6(max_dist$@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Ƞ@@@@@@@@@@ @@ @8888@@t@@)get_uint87@@@@ @@@@ @@@ @@@@@?;?;?;?_@@u@@(get_int88@@@@@@@@@@@@@@@@????@@v@@-get_uint16_ne9@@@@@@@@@@@@@@@@@]@]@]@@@w@@-get_uint16_be:@@@@@@@@ @@@@@@@@AAAA/@@x@@-get_uint16_le;@-@@@@ @@@$@@@@@@@@5AA6AA@@4y@@,get_int16_ne<@F@@@@9@@@=@@@@@@@@NBXBXOBXB@@Mz@@,get_int16_be=@_@@@@R@@@V@@@@@@@@gBBhBC%@@f{@@,get_int16_le>@x@@@@k@@@o@@@@@@@@CCCC@@|@@,get_int32_ne?@@@@@@@@%int32N@@@@@@@@ DGDG DGDp@@}@@$hash@@@@@@@@@@@DDDD@@~@@+seeded_hashA@@@@@@@@@@@@@@@@EEEE@@@@,get_int32_beB@@@@@@@@E@@@@@@@@ FF FF@@@@@,get_int32_leC@@@@@@@@^@@@@@@@@'GfGf'GfG@@A@@,get_int64_neD@@@@@@@@%int64O@@@@@@@@.HH.HH0@@B@@,get_int64_beE@#@@@@@@@@@@@@@@@+5HH,5HH@@*C@@,get_int64_leF@<@@@@/@@@4@@@@@@@@D<IFIFE<IFIo@@CD@@*unsafe_getG@U@@@@H@@@D@@@@@@@2%string_unsafe_getBA@@@@bGJ3J3cGJ3Ju@@aE@@+unsafe_blitH@s@@@@f@@@@@@@@r@@@@x@@@@@@@@@@@@@@@@0caml_blit_stringE@/@@@@@@@HJvJvJJJ@'noallocJJJJJJ@@JJJ @@F@@@Ű@@IJ;@@@A@@@@@@@@@@A@J@@@@@@@@@@@@@@@@@@K@@@@@@@@@@@@@@@@@@@@@@@@L@@@@@@M@@@@@@@@@@@N@@@@@@@@~@@@@@@@}x@u@tO@s@@@p@@@@@@o@l@kP@j@@@i@@@@@@h@e@dQ@c@@@@b@@@@a@@@@`@@@@_@@@^@@@@@@@@@@@@@@[@X@WR@V@@@@UR@@@@@@Q@@@@@@@@P@M@LS@K@@@@J@@@I@@@@@@@@H@E@DT@@@@@@@@C@@@@@@@@@@=@<U@@@@~@@@@};@@@|@@{@@z@:@7@6V53@@@y@2@@@x1@@@w@@v@@u@0@-@,W+)@@@t@(@@@s'@@@r@@q@@p@&@#@"X@!@@@o@ @@@n@@@@m@@@l@@k@@j@@i@@@Y@@@@h@@@@g@@@@f@@@e@@d@@c@@b@@@Z@@@@a@@@@` @@@_@@^@@]@ @ @[@@@@\@@@@[@@@@Z@@@Y@@X@@W@@V@@@\@@@@U@@@@T@@@S@@@R@@Q@@P@@@]@@@@@O@@@N@@M@@@@L@@@K@@J@@I@@@^@@@@@H@@@@G@@@F@@E@@D@@@@C@@@B@@A@@@@@@_@@@@@@?@@>@@=@@@@@<@@;@@:@@9@@@`@@@@@8@@@7@@6@@@@5@@@4@@3@@2@@@a@@@@@1@@@0@@/@@@@.@@@-@@,@@+@@@b@@@@@*@@@)@@(@@@@'@@@&@@%@@$@@@c@@@@#@@@"@@!@@@d@@@@ @@@@@@@@e@@@@@@@@@@@@f@@@@@@@@@@@@g@@@@@@@@@@@@h@@@@@@@@@@@@i@@@@@@@@@@@@@@@@@ @@ @@ @@@j@@@@@ @@@@ @@@@@@@@@@@@@@@@@@@@@~k@}@@@@|@@@@{@@@z@@@@@@@@@@y@v@ul@t@@@@s@@@@r@@@qn@@@@@@@@@@@@@m@j@im@h@@@@g@@@@f@@@e@@@@@@@@@@d@a@`n@_@@@@^@@@@]@@@\[@@@@@@@@@@@@@Z@W@Vo@U@@@@T@@@S@@@@@@@@R@O@Np@M@@@@L@@@KJ@@@@@@@@@@@I@F@Eq@D@@@@C@@@B@@@@@@@@A@>@=r@<@@@@;@@@:9@@@@@@@@@@@8@5@4s@W@@@30/.@@@@@@@@@-@*@)t@i@@@E('@&@@@Ǡ@%@@@@@@@@@@@$@!@ u@]@@@@@@@@@@@@@@v@@@@@@@@w@@@@@@@@@@w@@@@@@@@@@@ @ x@@@@@ @@@@@@@@@@@@@y@@@@@@@@@@@@z@@@@@@@@@@@@@@@@@@{@@@@@@@@@@@@|@@@@@@@@@@@@@@@@@@@@@@@@@@}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@۠@@@@@@@@@@@@@@@~@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@~@@}@@@@@@@|@@@@{@@@z@@y@@x@@@@@@@w@@@@v@@@u@@t@@s@@@@@@@r@@@@q@@@p@@o@@n@@@@@@@m@@@@l@@@k@@j@@i@@@@@@@h@@@@g@@@f@@e@@d@@@@@@@c@@@b@@a@@@@@@@`@@@@_@@@^@@]@@\@@@~@}@@@[@|@@@Z{@@@Y@@X@@W@z@w@v@u@@@V@t@@@Us@@@T@@S@@R@r@o@n@m@@@Q@l@@@Pk@@@O@@N@@M@h@e@d@c@@@L@b@@@Ka@@@J@@I@@H@`@]@\@[@@@G@Z@@@FY@@@E@@D@@C@X@U@T@S@@@B@R@@@AQ@@@@@@?@@>PK@H@G@F@@@=@E@@@<@D@@@;@C@@@:@B@@@9A@@@8@@7@@6@@5@@4@@3@85+@@, @@3*))*****@ @A @#SetK9:@Re@@УР#Set!SIJ@ MN@@3NMMNNNNN@ \zydc]\QP@?43('qp`_JI54tshgRQ76! yx^]LK98-, utdcSRBA10 @AQL@@#elt@#elt@+ @;@@@A|@@@@@@@@@@@d@@@Aг &string @@j @@ @@"L;@@@A@@@\@@@@@@@A@!tL;@@@A@@@@@'set.mliJ U YJ U _@@@@+Stdlib__SetD@A@%empty@@@[@M ~ M ~ @@E@@#add@*@@@Z@@@@Y@@@X@@W@@V@&P  'P  @@%F@@)singleton@@@@U)@@@T@@S@7V  8V  @@6G@@&remove@(@@@R@<@@@Q?@@@P@@O@@N@MY 5 9NY 5 R@@LH@@%union@M@@@M@R@@@LU@@@K@@J@@I@c_]ad_]w@@bI@@%inter@c@@@H@h@@@Gk@@@F@@E@@D@ybzb@@xJ@@(disjoint@y@@@C@~@@@B$boolE@@@A@@@@@?@ee@@K@@$diff@@@@>@@@@=@@@<@@;@@:@i(,i(A@@L@@(cardinal@@@@9#intA@@@8@@7@mm@@M@@(elements@@@@6$listK@@@5@@@4@@3@rr7@@N@@'min_elt@@@@2@@@1@@0@x x5@@O@@+min_elt_opt@@@@/&optionL@@@.@@@-@@,@}}@@P@@'max_elt@@@@+@@@*@@)@@@ Q@@+max_elt_opt@@@@()@@@'@@@&@@%@$%>@@#R@@&choose@$@@@$@@@#@@"@56@@4S@@*choose_opt@5@@@!P-@@@ @@@@@@KL@@JT@@$find@<@@@@P@@@D@@@@@@@@ab@@`U@@(find_opt@R@@@@f@@@^@@@@@@@@@@@|x|}x@@{V@@*find_first@@o@@@@@@@@@@@@{@@@@@ @@ @KOKx@@W@@.find_first_opt@@@@@ @@@ @@ @@@@@@@@@@@@@@@RVR@@X@@)find_last@@@@@=@@@@@@@@@@@@@@@@@{{@@Y@@-find_last_opt@@@@@Y@@@@@@@@@@@@@@@@@@@@@@Z@@$iter@@@@@$unitF@@@@@@@@@ @@@@@@@@@@[@@$fold@@@@@@#acc@%@@@@@"@@@@  @@@@@@@23@@1\@@#map@@%@@@(@@@@@@<@@@?@@@@@@@@MN@@L]@@&filter@@@@@@@@@@@@X@@@[@@@@@@@@i  j  @@h^@@*filter_map@@\@@@c@@@@@@@@@x@@@{@@@@@@@@"" ""7@@_@@)partition@@|@@@ @@@@@@@@@@@@@ˠ@@@@@@@@@@@$;$?$;$i@@`@@%split@@@@@@@@@@@@à@>@@@Ġ@@@@@@@@@@@%Z%^%Z%@@a@@(is_empty@@@@U@@@@@@'$'('$'?@@b@@#mem@@@@@@@@l@@@@@@@@'p't'p'@@c@@%equal@@@@@@@@@@@@@@@@ '' ''@@d@@'compare@@@@@@@@p@@@@@@@@*(_(c+(_(}@@)e@@&subset@*@@@@/@@@@@@@@@@@A((B() @@@f@@'for_all@@4@@@@@@@@@L@@@@@@@@@@@^)f)j_)f)@@]g@@&exists@@Q@@@@@@@@@i@@@@@@@@@@@{))|)*@@zh@@'to_list@{@@@s@@@@@@@@@ ** **@@i@@'of_list@Ҡ@@@@@@@@@@@@$+ + $+ +'@@j@@+to_seq_from@@@@@@@@&Stdlib#Seq!t@@@@@@@@@@@*,,*,,/@@k@@&to_seq@@@@#Seq!t@@@@@@@@@/,,/,,@@l@@*to_rev_seq@@@@5#Seq!t@@@@@@@@@3-*-.3-*-M@@m@@'add_seq@K#Seq!t@@@@@@@@@@ @@@@@@@@7--7--@@n@@&of_seq@i#Seq!t@@@~@@@}#@@@|@@{@1;..2;...@@0o@@@Q@@@$S@T@#MapYM$$@$(g@@УР"#Map!S$$ @ $#$$@@3$$$#$#$$$$$$$$$$@@nmA@geA@][@RP@=;@.,@@@@@@@@@zx@ki@WU@HF@42@ @@@@@@xv@][@DB@*(@  @@@@@@wu@b`@GE@,*@@@@@@@@@J@Agb@@#key@#key$$@+ @;@@@A$h@@@@@@@$$ @@@@$f@@@Aг &string$ @@ @@ @@",N;@@@A@@@@@@@@@@A@!t-N;!a@@A@A@I@B@@@'map.mliI V ZI V e@@@@+Stdlib__MapD@A@%empty.!a@@@@@L  L  @@E@@#add/@6@@@@!a@@  @@@$ @@@@@@@@@@3O  4O  @@2F@@+add_to_list0@@@@@!a@@>$listK@@@@@@I @@@@@@@@@@@@@]X  ^X  @@\G@@&update1@I@@@@@&optionL!a@@@@  @@@@@@v@@@z@@@@@@@@@@^^@@H@@)singleton2@u@@@@!a@@@@@@@@@jW[jW{@@I@@&remove3@@@@@!a@@@@@@@@@@@@oo@@J@@%merge4@@@@@@`!a@u@@@@k!b@s@@@t!c@q@@@@@@@@@@@@@@@@@@@@@@@@@@@vY]x@@K@@%union5@@@@@@!a@e@ @@@@@@@@@@@@@@@@@@@@@@@@@@@)fj*f@@(L@@(cardinal6@)!a@`@@@#intA@@@@@@BC@@AM@@(bindings7@B!a@[@@@ @>@@@@@@@@@@@@c8<d8a@@bN@@+min_binding8@c!a@U@@@@[@@@@@@@@@bfb@@~O@@/min_binding_opt9@!a@P@@@#@{@@@@@@@@@@@@JNJ|@@P@@+max_binding:@!a@J@@@@@@@@@@@@@484[@@Q@@/max_binding_opt;@!a@E@@@`@@@@@@@@@@@@@ @@R@@&choose<@ݠ!a@?@@@@@@@~@@@}@@|@@@S@@*choose_opt=@!a@:@@@{@@@@z@@@y@@@x@@w@@@T@@$find>@@@@v@!a@3@@@u@@t@@s@23@@1U@@(find_opt?@@@@r@7!a@.@@@q۠ @@@p@@o@@n@OIMPIs@@NV@@*find_first@@@=@@@m$boolE@@@l@@k@\!a@&@@@j@T@@@i@@@h@@g@@f@x  y  D@@wW@@.find_first_optA@@f@@@e)@@@d@@c@!a@@@@b'@@@@a@@@`@@@_@@^@@]@"*"."*"l@@X@@)find_lastB@@@@@\U@@@[@@Z@!a@@@@Y@@@@X@@@W@@V@@U@#_#c#_#@@Y@@-find_last_optC@@@@@T|@@@S@@R@֠!a@ @@@Qz@@@@P@@@O@@@N@@M@@L@$y$}$y$@@Z@@$iterD@@@@@K@!a@$unitF@@@J@@I@@H@ @@@G @@@F@@E@@D@%%%& @@[@@$foldE@@ @@@C@!a@@#acc@@@B@@A@@@@0@@@?@  @@>@@=@@<@A'%')B'3'l@@@\@@#mapF@@!a@!b@@@;@M @@@:Q @@@9@@8@@7@`(e(ia(e(@@_]@@$mapiG@@N@@@6@!a@!b@@@5@@4@q @@@3u @@@2@@1@@0@))))@@^@@&filterH@@r@@@/@!a@;@@@.@@-@@,@ @@@+@@@*@@)@@(@****@@_@@*filter_mapI@@@@@'@!a@O!b@@@@&@@%@@$@@@@# @@@"@@!@@ @ ,, ,,?@@`@@)partitionJ@@@@@@!a@@@@@@@@@ @@@@@@@@@@@@@@@@@@.../%@@a@@%splitK@@@@@!a@@@@@ @@@@@@@@@@@@@@@@@@,$0'0+-$0'0\@@+b@@(is_emptyL@,!a@@@@ @@@ @@ @C022!D022;@@Bc@@#memM@/@@@ @H!a@@@@ @@@@@@@@_32l2p`32l2@@^d@@%equalN@@!a@@@@@@@@@@m@@@@s@@@#@@@@@@@@@@722723-@@e@@'compareO@@!a@@]@@@@@@@@@@@@@@@m@@@@@@@@@@=4(4,=4(4a@@f@@'for_allP@@@@@@!a@d@@@@@@@@ @@@n@@@@@@@@A45A450@@g@@&existsQ@@@@@@!a@@@@@@@@@ @@@@@@@@@@@F55F55@@h@@'to_listR@!a@@@@@@@@⠠@@@@@@@@@M6~6M6~6@@i@@'of_listS@ՠ@ @@@ޠ@!a@@@@@@(@@@@@@7Q668Q67@@6j@@&to_seqT@7!a@}@@@&Stdlib#Seq!t@9@@@ؠ@@@@@@@@@^W77_W77@@]k@@*to_rev_seqU@^!a@w@@@'#Seq!t@]@@@Ӡ@@@@@@@@@[8A8E[8A8n@@l@@+to_seq_fromV@n@@@@!a@p@@@P#Seq!t@@@@͠@@@@@@@@@@@_88_88@@m@@'add_seqW@l#Seq!t@@@@Ƞ@!a@f@@@@@@  @@@Ơ@@@@@@@@d99d99@@n@@&of_seqX@#Seq!t@@@@@!a@_@@@@@@@@@@@h::h::>@@o@@@ @@@*"@#@#TblO*  *  @*i@@УР)_'Hashtbl!S*  *  @ *  *  @@3********@@=@@Sp@@2filter_map_inplace@@@@@>@!a@Q@@@=@@<@@;@^@@@:F@@@9@@8@@7@y>>z>C>M@@xq@@$fold@@@@@6@!a@H@#acc@F@@5@@4@@3@@@@2@  @@1@@0@@/@>f>j>u>@@r@@&length@!a@B@@@.@@@-@@,@>>>>@@s@@%stats@!a@>@@@+*statistics@@@*@@)@>>>>@@t@@&to_seq@Ơ!a@9@@@(&Stdlib#Seq!t@w@@@'@@@&@@@%@@$@????+@@u@@+to_seq_keys@@@4@@@#%#Seq!t@@@"@@@!@@ @?D?H?D?j@@v@@-to_seq_values@ !a@.@@@C#Seq!t @@@@@@,??-??@@+w@@'add_seq@$!a@*@@@@`#Seq!t@@@@@@@@@@#@@@@@@@@V??W??@@Ux@@+replace_seq@N!a@"@@@@#Seq!t@@@@@@@@@@M@@@@@@@@@@@@E@@y@@&of_seq@#Seq!t@@@@@!a@@@ @@@ @@@ @@ @@^@b@^@@@z@@@@I@@@.$  @C@%print.. 7 ?./ 7 D@б@г,&Format)formatter.= 7 G.> 7 M@ .A 7 N.B 7 W@@@@@@x3.D.C.C.D.D.D.D.D@f@A@A@@@@@vt@YW@?=@)'@  @@@@@rp@PN@;9@#!@@@@@{y@@@X@A?:@@б@г|!t. 7 [. 7 \@@ @@@yC@@г.?$unit. 7 `. 7 d@@ @@@zP@@@@@{S@@@Y@@|Va @@@. 7 ;@@.j@@@@\'for_all. f n. f u@б@б@г.$char. f y. f }@@ @@@}3........@w!@A@@г.$bool. f . f @@ @@@~@@@@@@@б@гР!t. f . f @@ @@@!@@г.$bool. f . f @@ @@@.@@@@@1@@@$@@4. f x @@@. f j@@/ k@@@@;@ݠȠ r^N=- Ӡ{h?* Ӡv]M9)٠Ǡi=- ݠ͠rbRB2 @@ ?@@ 9@ @ 3@@@@${@@@X@@3/H/G/G/H/H/H/H/H@Z@AV3/K/J/J/K/K/K/K/K@@A/Pp/Q  @@-/b % {2 Extensions to the String module} /_EE/`Eo@@@@@@@/bpr@@'compare/l  /m  @б@А!a@Q@3/u/t/t/u/u/u/u/u@=]@yxA@rq@cb@ON@JI@@?@10@'&@@@@@@@@@@xw@ih@UT@BA@.-@@@@@@@@@@@wv@^]@JI@21@@@@@@@@@@xw@nm@]\@SR@BA@87@ @@@@@@@@@}|@nm@dc@UT@FE@76@('@@  @@@ONA@HFA@><@31@@ @@@@@@@~@qo@[Y@LJ@86@)'@@@@@@@vt@YW@><@%#@  @  @  @  @  @  @ m k@ X V@ C A@ ( &@  @  @  @  @  @  @ | z@@@ d+@@ ^@  A@  A@  @  @ | z@ T R@ * (@  @  @  @  @ { y@ \ Z@ B @@ # !@  @  @  @  @  @  ~@ Y W@ / -@  @@@@}{@[Y@97@@@@@@ge@B@@ @@@@@yw@RP@*(@@@ @@@dcA@][A@LJ@42@@@@@@@@lj@PN@42@@@@@@{y@a_@HF@ @@@@,@@\@U @@/J@@@@@@@A1  1  @@б@А!a1  1  @@г0렐#int1  1  @@ @@@@@@@@@@@@@ @@(%compareBA @@@@1,  1-  @@1Em@ @@@@(@"%!"(@@" @   "@@ @9% @@@A@@@@31<1;1;1<1<1<1<1<@@A(۰1Cq(1D  @@@1Fq@(@1[1Z ( {1 Operations on files and file paths} 1W  1X  @@@@@@31V1U1U1V1V1V1V1V@((@(@((A@((@''}@']'@&&>@&%@%p%@$$@$c#@##A@#%"@@""T(@@"N@"B!A@!!O@@ !0"M@@!*@! @ s @@@Ct!+@@n@A@@ts@`_@[Z@QP@BA@87@.-@@@@@@@@@@zy@fe@SR@?>@&%@@@@@@@@@@@on@[Z@CB@/.@@@@@@@@@@~@nm@dc@SR@IH@10@@@@@@@@@@~@ut@fe@WV@HG@98@*)@@  @@`_A@YWA@OM@DB@/-@ @  @@@@@@@@lj@][@IG@:8@&$@@@@@@@jh@OM@64@@@@@@@~|@ig@TR@97@@ @@@@@@@@u<@@o@  A@  A@  @  @  @ e c@ ; 9@ % #@  @  @  @  @ m k@ S Q@ 4 2@  @  @  @  @  @  @ j h@ @ >@  @  @  @  @  @ l j@ J H@ # !@  @  @  @  @ x v@ S Q@ 1 /@  @@@@@ca@;9@@@@@@utA@nlA@][@EC@.,@@@@@@@}{@a_@EC@#!@@@@@@rp@YW@1/@ @@@=@@m@f@@ @@@@@*@A,find_in_path3!!3!!@б@г2$list3"!!3#!!@г2&string3,!!3-!!@@ @@@ذ@@@@@@ݰ @@б@г3 &string3@!!"3A!!(@@ @@@@@г3&string3M!!,3N!!2@@ @@@@@@@@@@@&@@- @@@3[!!@1 ) Search a file in a list of directories. 3h!3!:3i!3!h@@@@@@@3o@@@13|@@@@@@0find_in_path_rel3!j!n3!j!~@б@г3$list3!j!3!j!@г3^&string3!j!3!j!@@ @@@333333333@AB@A@@@ @@@ @@б@г3t&string3!j!3!j!@@ @@@@@г3&string3!j!3!j!@@ @@@#@@@@@&@@@&@@)/ @@@3!j!j@2 2 Search a relative file in a list of directories. 3!!3!!@@@@@@@3p@@@2$3搠@@@@@@H8normalized_unit_filenameՠ3"r"v3"r"@б@г3&string3"r"3"r"@@ @@@333333333@a8@A@@г2&Result!t4"r"4"r"@ 4 "r"4 "r"@@г3ࠐ&string4"r"4"r"@@ @@@"@@г3&string4$"r"4%"r"@@ @@@0@@@.@@@640"r"%@@@= @@:@(@@@46"r"r+@2 Normalize file name [Foo.ml] to [foo.ml], using NFC and case-folding. Return [Error] if the input is not a valid utf-8 byte sequence 4C!!4D"+"q@@@@@@@4\q@@;@24W@@@@@@Y7find_in_path_normalized֠4Z""4[""@б@г3᠐$list4e""4f""@г49&string4o""4p""@@ @@@34q4p4p4q4q4q4q4q@|B@A@@@ @@@ @@б@г4O&string4""4""@@ @@@@@г4\&string4""4""@@ @@@#@@@@@&@@@&@@)/ @@@4""@2 Same as {!find_in_path_rel} , but search also for normalized unit filename, i.e. if name is [Foo.ml], allow [/path/Foo.ml] and [/path/foo.ml] to match. 4""4##@@@@@@@4r@@@24@@@@@@H+remove_fileנ4##4##@б@г4&string4##4##@@ @@@344444444@a8@A@@г4$unit4##4##@@ @@@@@@@@@@@4## @38 Delete the given file if it exists and is a regular file. Does nothing for other kinds of files. Never raises an error. 4##4$0$T@@@@@@@5s@@@3H5 @@@@@@10expand_directoryؠ5 $V$Z5$V$j@б@г4⠐&string5$V$l5$V$r@@ @@@355555555@J_8@A@@б@г4&string5)$V$v5*$V$|@@ @@@@@г5&string56$V$57$V$@@ @@@@@@@@!@@@'@@$* @@@5D$V$V@3 [expand_directory alt file] eventually expands a [+] at the beginning of file into [alt] (an alternate root directory) 5Q$$5R$%@@@@@@@5jt@@@35e@@@@@@C3split_path_contents٠5h%%5i%%/@б#sepг5C$char5u%%65v%%:@@ @@@35w5v5v5w5w5w5w5w@^s:@A@@б@г5P&string5%%>5%%D@@ @@@@@г5$list5%%O5%%S@г5g&string5%%H5%%N@@ @@@(@@@@@@- @@@"@@0%@@A29@@@ @@75%%1@@ @5%%"@4 ' [split_path_contents ?sep s] interprets [s] as the value of a "PATH"-like variable and returns the corresponding list of directories. [s] is split using the platform-specific delimiter, or [~sep] if it is passed. Returns the empty list if [s] is empty. 5%T%Z5&R&@@@@@@@5u@@2@45֐@@@@@@W)copy_fileڠ5&&5&&@б@г4l*in_channel5&&5&&@@ @@@355555555@p8@A@@б@г4}+out_channel5&&5&&@@ @@@@@г5$unit6&&6&&@@ @@@@@@@@!@@@'@@$* @@@6&&@4_  [copy_file ic oc] reads the contents of file [ic] and copies them to [oc]. It stops when encountering EOF on [ic]. 6&&6''D@@@@@@@66v@@@4o61@@@@@@C/copy_file_chunk۠64'F'J65'F'Y@б@г4*in_channel6?'F'[6@'F'e@@ @@@36A6@6@6A6A6A6A6A@\q8@A@@б@г4+out_channel6P'F'i6Q'F't@@ @@@@@б@г62#int6_'F'x6`'F'{@@ @@@ @@г6$unit6l'F'6m'F'@@ @@@-@@@@@0@@@%@@3( @@@9@@6<@@@6}'F'F@4̐ [copy_file_chunk ic oc n] reads [n] bytes from [ic] and copies them to [oc]. It raises [End_of_file] when encountering EOF on [ic]. 6''6((+@@@@@@@6w@@!@46@@@@@@U.string_of_fileܠ6(-(16(-(?@б@г54*in_channel6(-(A6(-(K@@ @@@366666666@n8@A@@г6&string6(-(O6(-(U@@ @@@@@@@@@@@6(-(- @5 [string_of_file ic] reads the contents of file [ic] and copies them to a string. It stops when encountering EOF on [ic]. 6(V(]6((@@@@@@@6x@@@5%6琠@@@@@@178) )I@@ @@@6@@А!a@Q@?7F) )M7G) )O@@@ @@D@@@#@@G&@@А!aK7R) )T7S) )V@@@ @@P7W) )3@@@A@@TD@@o4gW@@@ @@[7b) )@@ @7e((@5 t Produce output in temporary file, then rename it (as atomically as possible) to the desired output file name. [output_to_file_via_temporary filename fn] opens a temporary file which is passed to [fn] (name + output channel). When [fn] returns, the channel is closed and the temporary file is renamed to [filename]. 7r)W)^7s **@@@@@@@7y@@#@57@@@@@@{7protect_writing_to_fileޠ7**7**@б(filenameг7`&string7*+7*+ @@ @@@377777777@:@A@@б!fб@г63+out_channel7+ +7+ +@@ @@@@@А!a@Q@7+ +!7+ +#@@@ @@#@@А!a'7+%+*7+%+,@@' @@,7+ +@@>3@@07** @@@7** @6 Open the given [filename] for writing (in binary mode), pass the [out_channel] to the given function, then close the channel. If the function raises an exception then [filename] will be removed. 7+-+37+,@@@@@@@7z@@@6.7𐠠@@@@@@P6concat_null_terminatedߠ7,, 7,,6@б@г7z$list7,,@7,,D@г7Ҡ&string8,,98 ,,?@@ @@@38 8 8 8 8 8 8 8 @sB@A@@@ @@@ @@г7栐&string8,,H8,,N@@ @@@@@@@@@@@8',, @6v a [concat_null_terminated [x1;x2; ... xn]] is [x1 ^ "\000" ^ x2 ^ "\000" ^ ... ^ xn ^ "\000"] 84,O,O85,,@@@@@@@8M{@@@68H@@@@@@65split_null_terminated8K,,8L,,@б@г8 &string8V,,8W,,@@ @@@38X8W8W8X8X8X8X8X@On8@A@@г7᠐$list8e,,8f,,@г89&string8o,,8p,,@@ @@@@@@@@@ @@@$@@!'@@@8,,@6ΐ s [split_null_terminated s] is similar [String.split_on_char '\000'] but ignores the trailing separator, if any 8,,8--a@@@@@@@8|@@*@68@@@@@@@/chop_extensions8 -c-g8 -c-v@б@г8x&string8 -c-x8 -c-~@@ @@@388888888@Yn8@A@@г8&string8 -c-8 -c-@@ @@@@@@@@@@@8 -c-c @7  Return the given file name without its extensions. The extensions is the longest suffix starting with a period and not including a directory separator, [.xyz.uvw] for instance. Return the given name if it does not contain an extension. 8!--8%.\.@@@@@@@8}@@@7'8鐠@@@@@@1888 {1 Integer operations} 8'..8'..@@@@@@388888888@CX1@A$log28)..9)..@б@г8ݠ#int9 )..9 )..@@ @@@@@г8ꠐ#int9)..9)..@@ @@@'@@@@@*@@@9").. @7q O [log2 n] returns [s] such that [n = 1 lsl s] if [n] is a power of 29/*..90+//5@@@@@@@9H~@@@79C@@@@@@I%align9F-/7/;9G-/7/@@б@г9$#int9Q-/7/B9R-/7/E@@ @@@39S9R9R9S9S9S9S9S@b]8@A@@б@г95#int9b-/7/I9c-/7/L@@ @@@@@г9B#int9o-/7/P9p-/7/S@@ @@@@@@@@!@@@'@@$* @@@9}-/7/7@7̐ P [align n a] rounds [n] upwards to a multiple of [a] (a power of 2). 9./T/[9///@@@@@@@9@@@79@@@@@@C/no_overflow_add91//91//@б@г9#int91//91//@@ @@@399999999@\q8@A@@б@г9#int91//91//@@ @@@@@г9$bool91//91//@@ @@@@@@@@!@@@'@@$* @@@91//@8' f [no_overflow_add n1 n2] returns [true] if the computation of [n1 + n2] does not overflow. 92//930"0L@@@@@@@9@@@@879@@@@@@C/no_overflow_sub950N0R950N0a@б@г9ڠ#int:50N0c:50N0f@@ @@@3: ::: : : : : @\q8@A@@б@г9렐#int:50N0j:50N0m@@ @@@@@г9㠐$bool:%50N0q:&50N0u@@ @@@@@@@@!@@@'@@$* @@@:350N0N@8 f [no_overflow_sub n1 n2] returns [true] if the computation of [n1 - n2] does not overflow. :@60v0}:A700@@@@@@@:YA@@@8:T@@@@@@C/no_overflow_mul:W900:X900@б@г:5#int:b900:c901@@ @@@3:d:c:c:d:d:d:d:d@\q8@A@@б@г:F#int:s901:t901 @@ @@@@@г:>$bool:901 :901@@ @@@@@@@@!@@@'@@$* @@@:900@8ݐ f [no_overflow_mul n1 n2] returns [true] if the computation of [n1 * n2] does not overflow. ::11:;1Z1@@@@@@@:B@@@8:@@@@@@C/no_overflow_lsl:=11:=11@б@г:#int:=11:=11@@ @@@3::::::::@\q8@A@@б@г:#int:=11:=11@@ @@@@@г:$bool:=11:=11@@ @@@@@@@@!@@@'@@ $* @@@:=11@98 d [no_overflow_lsl n k] returns [true] if the computation of [n lsl k] does not overflow. :>11:?12@@@@@@@;C@@@9H; @@@@@@C-letter_of_int; A2 2$;A2 21@б@г:렐#int;A2 24;A2 27@@ @@@ 3;;;;;;;;@\q8@A@@г:&string;'A2 2;;(A2 2A@@ @@@ @@@@@ @@@;2A2 2  @@;JD@@ @@5Int_literal_converterQ;?C2C2J;@C2C2_@;XI@@Б#int;MD2f2l;ND2f2o@б@г;"&string;XD2f2r;YD2f2x@@ @@@ 3;Z;Y;Y;Z;Z;Z;Z;Z@AV/@A@@г;:#int;gD2f2|;hD2f2@@ @@@@@@@@@@@;rD2f2h @9 Convert a string to an integer. Unlike {!Stdlib.int_of_string}, this function accepts the string representation of [max_int + 1] and returns [min_int] in this case. ;E22;G33@@@@@@@@;E@@@9;@@@@@@1%int32;I3B3H;I3B3M@б@г;k&string;I3B3P;I3B3V@@ @@@3;;;;;;;;@J_8@A@@г:%int32;I3B3Z;I3B3_@@ @@@@@@@@@@@;I3B3D @: ; Likewise, at type [int32] ;J3`3d;J3`3@@@@@@@;F@@@:;ܐ@@@@@@1%int64;L33;L33@б@г;&string;L33;L33@@ @@@3;;;;;;;;@J_8@A@@г;9%int64;L33;L33@@ @@@@@@@@@@@<L33 @:S; Likewise, at type [int64] <M33<M33@@@@@@@<*G@@@:c<%@@@@@@1)nativeint<(O33<)O33@б@г;&string<3O33<4O33@@ @@@3<5<4<4<5<5<5<5<5@J_8@A@@г;)nativeint bool] that we assume: 1. is monotonic on natural numbers: if [a <= b] then [p a] implies [p b], 2. is satisfied for some natural numbers in range [0; max_int] (this is equivalent to: [p max_int = true]). [find_first_mono p] is the smallest natural number N that satisfies [p], computed in O(log(N)) calls to [p]. Our implementation supports two cases where the preconditions on [p] are not respected: - If [p] is always [false], we silently return [max_int] instead of looping or crashing. - If [p] is non-monotonic but eventually true, we return some satisfying value. <U4J4L<e77@@@@@@@<J@@@;$<搠@@@@@@L<<󐠠7 {1 String operations} <g77<g773@@@@@@3<<<<<<<<@^u1@A0search_substring<i7579<i757I@б@г<Ѡ&string=i757K=i757Q@@ @@@@@б@г<ࠐ&string=i757U=i757[@@ @@@)@@б@г<#int=%i757_=&i757b@@ @@@ 8@@г=#int=2i757f=3i757i@@ @@@!E@@@@@"H@@@%@@#K( @@@7@@$N:@@@=Ci7575@; [search_substring pat str start] returns the position of the first occurrence of string [pat] in string [str]. Search starts at offset [start] in [str]. Raise [Not_found] if [pat] does not occur. =Pj7j7q=Qm8A8^@@@@@@@=iK@@!@;=d@@@@@@m1replace_substring=go8`8d=ho8`8u@б&beforeг=>&string=to8`8~=uo8`8@@ @@@%3=v=u=u=v=v=v=v=v@:@A@@б%afterг=Q&string=o8`8=o8`8@@ @@@&@@б@г=`&string=o8`8=o8`8@@ @@@'"@@г=m&string=o8`8=o8`8@@ @@@(/@@@@@)2@@0%@@*5=o8`8 @@G<@@+9=o8`8w@@@=o8`8`@< [replace_substring ~before ~after str] replaces all occurrences of [before] with [after] in [str] and returns the resulting string. =p88=r9-9P@@@@@@@=L@@#@<=א@@@@@@Y/rev_split_words=t9R9V=t9R9e@б@г=&string=t9R9g=t9R9m@@ @@@,3========@r8@A@@г=p$list=t9R9x=t9R9|@г=Ƞ&string=t9R9q=t9R9w@@ @@@-@@@@@@/ @@@$@@0!'@@@>t9R9R@<] u [rev_split_words s] splits [s] in blank-separated words, and returns the list of words in reverse order. >u9}9>v99@@@@@@@>4M@@*@/@@@@@@@&cut_at>2x::>3x:: @б@г>&string>=x:: >>x::@@ @@@13>?>>>>>?>?>?>?>?@Yn8@A@@б@г>$char>Nx::>Ox::@@ @@@2@@В@г>)&string>_x::>`x::%@@ @@@3"@@@г>8&string>nx::(>ox::.@@ @@@41@@@@@ @@58 @@@- @@6;0@@@A@@7>D@@@>x::@<Ґ z [String.cut_at s c] returns a pair containing the sub-string before the first occurrence of [c] in [s], and the sub-string after the first occurrence of [c] in [s]. [let (before, after) = String.cut_at s c in before ^ String.make 1 c ^ after] is the identity if [s] contains [c]. Raise [Not_found] if the character does not appear in the string @since 4.01 >y:/:/>;;@@@@@@@>N@@%@<>@@@@@@].ordinal_suffix>;;>;;@б@г>#int>;;>;;@@ @@@83>>>>>>>>@v8@A@@г>&string>;;>;;@@ @@@9@@@@@:@@@>;; @=  [ordinal_suffix n] is the appropriate suffix to append to the numeral [n] as an ordinal number: [1] -> ["st"], [2] -> ["nd"], [3] -> ["rd"], [4] -> ["th"], and so on. Handles larger numbers (e.g., [42] -> ["nd"]) and the numbers 11--13 (which all get ["th"]) correctly. >;;><<@@@@@@@>O@@@=+>퐠@@@@@@1-normalise_eol><<><=@б@г>Š&string><= ><=@@ @@@;3>>>>>>>>@J_8@A@@г>Ԡ&string? <=? <=@@ @@@<@@@@@=@@@?<< @=d [normalise_eol s] returns a fresh copy of [s] with any '\r' characters removed. Intended for pre-processing text which will subsequently be printed on a channel which performs EOL transformations (i.e. Windows) ?"==?#==@@@@@@@?;P@@@=t?6@@@@@@11delete_eol_spaces?9=>?:=>@б@г?&string?D=>?E=>@@ @@@>3?F?E?E?F?F?F?F?F@J_8@A@@г?&string?S=>?T=>$@@ @@@?@@@@@@@@@?^== @= [delete_eol_spaces s] returns a fresh copy of [s] with any end of line spaces removed. Intended to normalize the output of the toplevel for tests. ?k>%>%?l>>@@@@@@@?Q@@@=?@@@@@@1??> {1 Operations on references} ?>>?>>@@@@@@3????????@CX1@AA+-ref_and_valueR?>>?>>@@;@@!R>/#ref!a@ES@A@@@CS@F@!@@@H?>??>? @@?S@@@A@@@@@?>>@@@@?R@@#"" ?>?@ @г#$?>??>? @А#(3????????@C=;@@@A@@@@@@@@@A?>??>?@@@4 @@А!a, ?>? ?>?@@@г--ref_and_value?>?.@@4/@@1@@A@-@@Z-0@,protect_refs??"?&??"?2@б@г?u$list??"?C??"?G@гm-ref_and_value@?"?5@?"?B@@ @@@Y3@@@@@@@@@~xr@A@@@ @@@[ @@б@б@г?Ƞ$unit@?"?L@?"?P@@ @@@\@@А!a@bS@]!@*?"?T@+?"?V@@@ @@^&@@А!a*@3?"?[@4?"?]@@@ @@_/@8?"?K@@@0@@`39@@@@>?"?" @> [protect_refs l f] temporarily sets [r] to [v] for each [R (r, v)] in [l] while executing [f]. The previous contents of the references is restored even if [f] raises an exception, without altering the exception backtrace. @K?^?^@L@H@J@@@@@@@@dT@@@>@_@@@@@@R'get_ref@b@L@P@c@L@W@б@г>#ref@m@L@a@n@L@d@г?$list@w@L@\@x@L@`@А!a@lS@c3@@~@~@@@@@@{H@A@@L@Y@@L@[@@@ @@@e @@@&@@@g #@@г@$list@@L@k@@L@o@А!a!@@L@h@@L@j@@@'@@@i# @@@@@j&$@@@@@L@L@> q [get_ref lr] returns the content of the list reference [lr] and reset its content to the empty list. @@p@w@@@@@@@@@@@U@@#@? @̐@@@@@@E-set_or_ignore@@@@@A@б@б@А!a@{S@m3@@@@@@@@@\6@A@@A@@A@@г@H&option@@A @@A@А!b@}S@n@@A @@A @@@ @@@p@@@&@@q!@@б@г?#refA@A"A @A%@г@q&optionA@AA@A!@А!b);A@AA@A@@@/@@@sB @@@@@@uG @@б@А!aRMA+@A)A,@A+@@г@᠐$unitA4@A/A5@A3@@ @@@v\@@@d@@w_@@@@@xb' @@@F@@yeAC@A@@@AF@@@? ~ [set_or_ignore f opt x] sets [opt] to [f x] if it returns [Some _], or leaves it unmodified if it returns [None]. ASA4A;ATAA@@@@@@@AlV@@"@?Ag@@@@@@AuAt * {1 Operations on triples and quadruples} AqAAArAA@@@@@@3ApAoAoApApApApAp@1@A$fst3A}AAA~AA@б@В@А!a@S@~AAAAAA@@@А!b@S@'AABAAB@@@А!c@S@4AABAAB@@@@&@@@@?% @@А!a.CAAB AAB @@@3@@H.@@@AAA@@AW@@ @@N$snd3ABBABB@б@В@А!a@S@3AAAAAAAA@gb@AABBABB@@@А!b@S@ABBABB@@@А!c@S@ABB"ABB$@@@@(@@@@'% @@А!b!+BBB(BBB*@@@&@@0.@@@B BB@@B$X@@ @@6$thd3BB+B/BB+B3@б@В@А!a@S@3B$B#B#B$B$B$B$B$@Od@AB*B+B5B+B+B7@@@А!b@S@B7B+B:B8B+B<@@@А!c@S@BDB+B?BEB+BA@@@@(@@@@'% @@А!c+BSB+BEBTB+BG@@@@@0.@@@BZB+B+@@BrY@@ @@6$fst4BeBIBMBfBIBQ@б@В@А!a@S@3BrBqBqBrBrBrBrBr@Od@ABxBIBSByBIBU@@@А!b@S@BBIBXBBIBZ@@@А!c@S@BBIB]BBIB_@@@А!d@S@)BBIBbBBIBd@@@@5@(@@@@64 @@А!a?:BBIBhBBIBj@@@D@@?=@@@BBIBI@@BZ@@ @@E$snd4BBkBoBBkBs@б@В@А!a@S@3BBBBBBBB@^s@ABBkBuBBkBw@@@А!b@S@BBkBzBBkB|@@@А!c@S@BBkBBBkB@@@А!d@S@)BBkBBBkB@@@@5@(@@@@64 @@А!b0:C BkBCBkB@@@5@@?=@@@CBkBk@@C,[@@ @@E$thd4CBBC BB@б@В@А!a@S@3C,C+C+C,C,C,C,C,@^s@AC2BBC3BB@@@А!b@S@C?BBC@BB@@@А!c@S@CLBBCMBB@@@А!d@S@)CYBBCZBB@@@@5@(@@@@64 @@А!c#:CjBBCkBB@@@(@@?=@@@CqBB@@C\@@ @@E$for4C|BBC}BB@б@В@А!a@S@3CCCCCCCC@^s@ACBBCBB@@@А!b@S@CBBCBB@@@А!c@S@CBBCBB@@@А!d@S@)CBBCBB@@@@5@(@@@@64 @@А!d:CBBCBB@@@@@?=@@@CBB@@C]@@ @@ECC㐠 5 {1 Spell checking and ``did you mean'' suggestions} CBBCBC @@@@@@3CCCCCCCC@Wl@A-edit_distanceCCCCCC@б@гC&stringCCC"CCC(@@ @@@@@б@гCР&stringDCC,DCC2@@ @@@)@@б@гC蠐#intDCC6DCC9@@ @@@8@@гC&optionD"CCAD#CCG@гC#intD,CC=D-CC@@@ @@@O@@@@@@T @@@"@@W%@@@4@@Z7@@@F@@]I@@@DBCC @B  [edit_distance a b cutoff] computes the edit distance between strings [a] and [b]. To help efficiency, it uses a cutoff: if the distance [d] is smaller than [cutoff], it returns [Some d], else [None]. The distance algorithm currently used is Damerau-Levenshtein: it computes the number of insertion, deletion, substitution of letters, or swapping of adjacent letters to go from one word to the other. The particular algorithm may change in the future. DOCHCHDPE-E/@@@@@@@Dh^@@0@BDc@@@@@@|*spellcheckDfE1E5DgE1E?@б@гC$listDqE1EIDrE1EM@гDE&stringD{E1EBD|E1EH@@ @@@3D}D|D|D}D}D}D}D}@B@A@@@ @@@ @@б@гD[&stringDE1EQDE1EW@@ @@@@@гD$listDE1EbDE1Ef@гDr&stringDE1E[DE1Ea@@ @@@-@@@@@@2 @@@"@@5%@@@5@@8>@@@DE1E1@C [spellcheck env name] takes a list of names [env] that exist in the current environment and an erroneous [name], and returns a list of suggestions taken from [env], that are close enough to [name] that it may be a typo for one of them. DEgEgDF1Fe@@@@@@@D_@@-@CDܐ@@@@@@W*align_hintADFhFlDFhFv@б&prefixгD&stringDFxFDFxF@@ @@@3DDDDDDDD@r:@A@@б$mainг*Format_doc!t*Format_docEFxFEFxF@ E FxFE FxF@@@@@@ 0 @@б$hintг!t*Format_docEFxFE FxF@ E#FxFE$FxF@@@@@@ 18 @@В@г6!t*Format_docE9FFE:FF@ E=FFE>FF@@@@@@ 2R @@@гN!t*Format_docEQFFERFF@ EUFFEVFF@@@@@@ 3j @@@@ @ @@ 4q* @@S? @@ 5tEfFxF@@s]@@ 6xEjFxF@@@@ 7|EnFxFz@@@EqFhFh@C  [aligned_hint main hint] vertically aligns a [main] message and a hint message. The vertical alignment is controlled by the use of [@{ ... @}] boxes: the start of one box, in either the hint or the main message, will be shifted on the left to ensure that the end of the two boxes are vertically aligned, taking in account a pre-existing [prefix] before the main message. For instance, {[ let main, sub = align_hint ~prefix:"Error: " (doc_printf "@{The value @}%a is not an instance variable" Style.inline_code "foobar" ) (doc_printf "@{Did you mean @}%a" Style.inline_code "foobaz" ) in printf "Error: %a%a" pp_doc main pp_doc sub ]} produces the following text: {[ Error: The value "foobaz" is not an instance variable Hint: Did you mean "foobar"? ]} where the main message has been shifted to the left to align ["foobaz"] and ["foobar"]. E~FFEJ|J~@@@@@@@E`@@,@CE@@@@@@0align_error_hintBEJJEJJ@б$mainг!t*Format_docEJJEJJ@ EJJEJJ@@@@@@ 83EEEEEEEE@C@A @@б$hintг!t*Format_docEJJEJJ@ EJJEJJ@@@@@@ 9 @@В@г!t*Format_docEJJEJJ@ EJJEJJ@@@@@@ :6 @@@г!t*Format_docEJJEJJ@ EJJEJJ@@@@@@ ;N @@@@ @ @@ <U* @@S? @@ =XF JJ@@s_@@ >\F JJ@@@FJJ@D_ ( Same as [align_hint ~prefix:"Error: "] FJJFJK @@@@@@@F6a@@(@DoF1@@@@@@|,aligned_hintCF4KKF5KK@б&prefixгF &stringFAK K)FBK K/@@ @@@ ?3FCFBFBFCFCFCFCFC@:@A@@б@гS)formatter*Format_docFVK K3FWK K=@ FZK K>F[K KG@@@@@@ @ @@б@гD'format4FjKKKFkKKK@А!a@ RS@ A/FvKKKNFwKKKP@@г)formatter*Format_docFKKKRFKKK\@ FKKK]FKKKf@@@@@@ BH @@гFD$unitFKKKhFKKKl@@ @@@ CV@@б@гF&optionFKKK{FKKK@г!t*Format_docFKKKnFKKKx@ FKKKyFKKKz@@@@@@ Dy @@@ @@@ F~@@гFy$unitFKKKFKKK@@ @@@ G@@@@@ H @@@rhNA @@@ MFKKKMs@@А!aqFKKKFKKK@@@v@@ N @@@@@ O@@@@ PFK K" @@@FKK@E? [aligned_hint ~prefix fmt ... hint] align the potential hint with the main error message generated by the format string [fmt] before printing the two message. FKKFL7LF@@@@@@@Gb@@@EOG@@@@@@,did_you_meanDGLHLLGLHLX@б"ppг"'printer*Format_docG%L[LjG&L[Lt@ G)L[LuG*L[L|@@гF&stringG4L[LcG5L[Li@@ @@@ S3G6G5G5G6G6G6G6G6@ M@A@@@" @@@ U @@б@гFƠ$listGJL[LGKL[L@гG&stringGTL[LGUL[L@@ @@@ V @@@@@@ X% @@гFŠ&optionGfL[LGgL[L@гq!t*Format_docGtL[LGuL[L@ GxL[LGyL[L@@@@@@ YE @@@ @@@ [J@@@,@@ \M3 @@qDP@@@ ] @@ ^TGL[L_(@@ @GLHLH+@E [did_you_mean ~pp choices] hints that the user may have meant one of the option in [choices]. Each choice is printed with the [pp] function, or [Style.inline_code] if [pp]=[None]. GLLGMbMd@@@@@@@Gc@@;@EG@@@@@@t%ColorKSGMMGMM@Gj@@БA+'settingETGMMGMM@@;@@$AutoF@@GMMGMM@@Ge@&AlwaysG@@GMMGMM@@Gf@%NeverH@@GMMGMM@@Gg@@@A@@@@@GMM@@A@Gd@@#@@@@@#GMM@@@@@#GMM@@@@@@A@@@3GGGGGGGG@m@A@/default_settingIHMMHMM@гH'settingHMMHMM@@ @@@ e3HHHHHHHH@SM@A@@@HMM @@H0h@@ @@*is_enabledJH#MMH$MM@б@гG۠$unitH.MMH/MM@@ @@@ f3H0H/H/H0H0H0H0H0@!4@A@@гG$boolH=MMH>MN@@ @@@ g@@@@@ h@@@HHMM @@H`i@@ @@@A@N9@2 @@3HNHMHMHNHNHNHNHN@4 @A 3HQHPHPHQHQHQHQHQ@Z@AHVMMHWNN@@FHh= {1 Color support detection }HeMfMfHfMfM@@@@@@@HhMM@@H}H| + {1 Styling handling for terminal output } HyN N HzN N:@@@@@@3HxHwHwHxHxHxHxHx@@A@m@f?@@FӐ,+@++@@@+@+@(@A%StylenUHN<NCHN<NH@H@@БA+%colorLVHNONVHNON[@@;@@%BlackM@@H N^NbH N^Ni@@Hl@#RedN@@H NjNnH NjNs@@Hm@%GreenO@@H NtNxH NtN@@Hn@&YellowP@@H NNH NN@@Ho@$BlueQ@@H NNH NN@@Hp@'MagentaR@@HNNHNN@@Hq@$CyanS@@HNNHNN@@Ir@%WhiteT@@HNNHNN@@I s@@@A@@@@@HNONQ@@A@I k@@#LLH N^NdJ@I@@@M@#III NjNpG@F@@@J@#FFI NtNzD@C@@@G@#CCI NNA@@@@@D@#@@I NN>@=@@@A@#==INN;@:@@@>@#::I NN8@7@@@;@#77I&NN5@4@@@8@@A@4@@3I%I$I$I%I%I%I%I%@@A58@A+%styleUWI3NNI4NN@@;@@"FGV@@@ o@@IBNNICNN@@I[u@"BGW@@@ p@@IPNNIQNO@@Iiv@$BoldX@@IYOOIZOO@@Irw@%ResetY@@IbOO"IcOO)@@I{x@@@A@@@@@IfNN@@@@I~t@@#22ImNNInNN@+@г4%colorIwNN5@@;3IuItItIuIuIuIuIu@L;@@@A@@@@@@@@@A;@@@@=@#99INNINN@2@г;%colorINN<@@B=@@@@?@#;;IOO9@8@@@<@#88IOO$6@5@@@9@@A@5@@3IIIIIIII@!@A69@H.&Format$stagIO*O1IO*O7@ IO*O8IO*O<@@@%StyleZXIO*O@IO*OE@#@I>@@@ z@@@ |@@AIO*OS@@Iy@@г$listIO*OO @г%styleIO*OIIO*ON@@3IIIIIIII@b@A@@@"@@@@@@AIO*O,@@@/ansi_of_style_l[IOUO[IOUOj@б@гIp$listIOUOsIOUOw@гˠ%styleIOUOmIOUOr@@ @@@ ~3JIIJJJJJ@*SM@A@@@ @@@  @@гIܠ&stringJOUO{JOUO@@ @@@ @@@@@ @@@JOUOW @@J5z@@ @@A+)tag_style\YJ)OOJ*OO@@;@@$ansi]@@I @@@ @@@ J;OOJ<OO@@JT|@)text_open^@@J@@@ JGOOJHOO@@J`}@*text_close_@@J@@@ JSOOJTOP @@Jl~@@@A@@@@@JWOOJX P P @@@@Jp{@@#..$J_OO@#@@Ш@г1$listJhOOJiOO@г6%styleJqOOJrOO@@>3JpJoJoJpJpJpJpJp@r[Q;@@@A@@@@@"@@@@A@@@H @@K@@  @B@#>>9JOO@8@@Ш@гA&stringJOOJOO@@I@@L@@ @H@#DD?JOP@>@@Ш@гG&stringJOPH@@N)I@@Q@@ ,@M@@A@I@@3JJJJJJJJ@+@AJI@A+&styles`ZJ"PPJ"PP@@;@@%errora@@@@@ J#P!P%J#P!P6@@J@'warningb@@@@@ J$P7P;J$P7PN@@J@#locc@@@@@ J%POPSJ%POPb@@J@$hintd@@@@@ J&PcPgJ&PcPw@@J@+inline_codee@@@@@ J'PxP|J'PxP@@K@@@A@@@@@J"PPJ(PP@@@@K@@#AA<J#P!P*@;@@Ш@гD)tag_styleJ#P!P,J#P!P5@@L3JJJJJJJJ@[;@@@A@@@@@@@@@A@@T@@ @P@#LLGK $P7PB@F@@Ш@гO)tag_styleK$P7PDK$P7PM@@W@@Z@@ @V@#RRMK%POPV@L@@Ш@гU)tag_styleK%%POPXK&%POPa@@])@@`@@ ,@\@#XXSK.&PcPk@R@@Ш@г[)tag_styleK7&PcPmK8&PcPv@@c;@@f@@ >@b@#^^YK@'PxP@X@@Ш@гa)tag_styleKI'PxPKJ'PxP@@iM@@l@@ P@h@@A@d@@3KKKJKJKKKKKKKKKK@O@Aed@$hintfKX*PPKY*PP@б@гd)formatter*Format_docKg*PPKh*PP@ Kk*PPKl*PP@@@@@@ 3KnKmKmKnKnKnKnKn@s@A @@гK($unitK{*PPK|*PP@@ @@@ @@@@@ @@@K*PP @@K@@ @@.as_inline_codegK+PPK+PP@б@г'printer*Format_docK+PPK+PP@ K+PPK+PP@@А!a@ [@ 3KKKKKKKK@@^.@AK+PPK+PP@@@  @@@  @@г'printer*Format_docK+PPK+PP@ K+PPK+PQ@@А!a% K+PPK+PP@@@+@@@ '@@@%@@ *(@@@K+PP@@K@@@@0+inline_codehK,QQ K,QQ@г'printer*Format_docK,QQ!K,QQ+@ K,QQ,K,QQ3@@гKΠ&stringL,QQL,QQ @@ @@@ 3LLLLLLLL@Z~0@A@@@" @@@  @@@L,QQ @@L+@@@@ .default_stylesiL.Q5Q;L.Q5QI@г}&stylesL'.Q5QKL(.Q5QQ@@ @@@ 3L)L(L(L)L)L)L)L)@$J@A@@@L1.Q5Q7 @@LI@@ @@*get_stylesjL</QRQXL=/QRQb@б@гK$unitLG/QRQdLH/QRQh@@ @@@ 3LILHLHLILILILILI@!4@A@@г&stylesLV/QRQlLW/QRQr@@ @@@ @@@@@ @@@La/QRQT @@Ly@@ @@*set_styleskLl0QsQyLm0QsQ@б@г͠&stylesLw0QsQLx0QsQ@@ @@@ 3LyLxLxLyLyLyLyLy@1F@A@@гL3$unitL0QsQL0QsQ@@ @@@ @@@@@ @@@L0QsQu @@L@@ @@%setuplL2QQL2QQ@б@гL&optionL2QQL2QQ@г'setting%ColorL2QQL2QQ@ L2QQL2QQ@@@@@@ 3LLLLLLLL@DY2@A @@@" @@@ @@гL{$unitL2QQL2QQ@@ @@@ @@@@@ "@@@L2QQ @@L@@ @@0set_tag_handlingmL7RRL7RR@б@гKx&Format)formatterL7RRL7RR@ L7RRL7RR@@@@@@ 3LLLLLLLL@?g(@A @@гL$unitM7RRM7RR@@ @@@ @@@@@ @@@M7RR @@M*@@ @@@smA@A@ic@@8@A@{uA@@J@C@@@@X@Q!@@3M.M-M-M.M.M.M.M.@5S#@AM5N<NKM69RR@@@M8N<N<@@+Error_styles[MD<SS$ME<SS/@M]@@БA+'settingo\MS=S6S=MT=S6SD@@;@@*Contextualp@@M]>SGSKM^>SGSW@@Mv@%Shortq@@Mf?SXS\Mg?SXSc@@M@@@A@@@@@Mj=S6S8@@A@M@@#Mq>SGSM@@@@@#Mw?SXS^@@@@@@A@@@3MvMuMuMvMvMvMvMv@@A@RLA@@@j@b\A@A@7@@~@wb@[4@-@@@@@b@A03@/default_settingrMASeSkMASeSz@гX'settingMASeS}MASeS@@ @@@ 3MMMMMMMM@8c]@A@@@MASeSg @@M@@ @@@keA@ @@3MMMMMMMM@   @A3MMMMMMMM@F@AM<SS2MBSS@@@M<SS@@MMؐ6 {1 Formatted output} MDSSMDSS@@@@@@3MMMMMMMM@_@A@A,@@@@A (print_iftMFSSMFSS@б@гL{&Format)formatterMGSSMGSS@ MGSSMGSS@@@@@@ ) @@б@гL#refN GSSN GSS@гMҠ$boolNGSSNGSS@@ @@@ B@@@@@@ G @@б@б@гL&Format)formatterN.GSSN/GSS@ N2GSSN3GSS@@@@@@ a @@б@А!a@ ]@ lNDGSSNEGSS@@гM$unitNMGSSNNGSS@@ @@@ {@@@@@ ~@@@#@@ + @@б@А!a N_GSSN`GSS@@А!a&NeGSTNfGST@@@++@@  @@@@@ NmGSS@@@V@@ ] @@@v@@ ~@@@NvFSS@LŐ J [print_if ppf flag fmt x] prints [x] with [fmt] on [ppf] if [b] is true. NHTTNHTTT@@@@@@@N@@!@LN@@@@@@0print_see_manualuNJTVTZNJTVTj@г 'printer*Format_docNJTVTvNJTVT@ NJTVTNJTVT@@гN2$listNJTVTqNJTVTu@гN#intNJTVTmNJTVTp@@ @@@ 3NNNNNNNN@S@A@@@ @@@  @@@1@@@  &@@@NJTVTV)@M#4 See manual section NKTTNKTT@@@@@@@N@@9@M3N@@@@@@+OO ( {1 Displaying configuration variables} NMTTOMTT@@@@@@3NNNNNNNN@=m1@A4show_config_and_exitvO OTTO OTT@б@гNà$unitOOTTOOTT@@ @@@ @@гNР$unitO#OTTO$OTT@@ @@@ '@@@@@ *@@@O.OTT @M} { Display the values of all compiler configuration variables from module [Config], then exit the program with code 0. O;PTTO<QUHU}@@@@@@@OT@@@MOO@@@@@@I=show_config_variable_and_exitwORSUUOSSUU@б@гO'&stringO]SUUO^SUU@@ @@@ 3O_O^O^O_O_O_O_O_@b]8@A@@гO$unitOlSUUOmSUU@@ @@@ @@@@@ @@@OwSUU @MƐ a Display the value of the given configuration variable, then exit the program with code 0. OTUUOUUV@@@@@@@O@@@MO@@@@@@1OO< {1 Handling of build maps} OWVVOWVV=@@@@@@3OOOOOOOO@CX1@AOO  Build maps cause the compiler to normalize file names embedded in object files, thus leading to more reproducible builds. OYV?V?OZVV@@@@@@9get_build_path_prefix_mapO\VVO\VV@б@гOw$unitO\VVO\VV@@ @@@ +@@гO6&optionO\VWO\VW @г5Build_path_prefix_map#map5Build_path_prefix_mapO\VVO\VW@ O\VWO\VW@@@@@@!aM @@@"@@@!cR@@@-@@!dU0"@@@O\VV%@NK R Returns the map encoded in the [BUILD_PATH_PREFIX_MAP] environment variable. P ]W W P ^WTWd@@@@@@@P"@@5@N[P@@@@@@t6debug_prefix_map_flagsP `WfWjP!`WfW@б@гOؠ$unitP+`WfWP,`WfW@@ @@@!e3P-P,P,P-P-P-P-P-@w8@A@@гO$listP:`WfWP;`WfW@гP&stringPD`WfWPE`WfW@@ @@@!f@@@@@@!h @@@$@@!i!'@@@PT`WfWf@N Returns the list of [--debug-prefix-map] flags to be passed to the assembler, built from the [BUILD_PATH_PREFIX_MAP] environment variable. PaaWWPbbWX+@@@@@@@Pz@@*@NPu@@@@@@@PP? {1 Handling of magic numbers} PdX-X-PdX-XQ@@@@@@3P~P}P}P~P~P~P~P~@Rg1@A,Magic_number]PfXSXZPfXSXf@P@@БPP  a typical magic number is "Caml1999I011"; it is formed of an alphanumeric prefix, here Caml1990I, followed by a version, here 011. The prefix identifies the kind of the versioned data: here the I indicates that it is the magic number for .cmi files. All magic numbers have the same byte length, [magic_length], and this is important for users as it gives them the number of bytes to read to obtain the byte sequence that should be a magic number. Typical user code will look like: {[ let ic = open_in_bin path in let magic = try really_input_string ic Magic_number.magic_length with End_of_file -> ... in match Magic_number.parse magic with | Error parse_error -> ... | Ok info -> ... ]} A given compiler version expects one specific version for each kind of object file, and will fail if given an unsupported version. Because versions grow monotonically, you can compare the parsed version with the expected "current version" for a kind, to tell whether the wrong-magic object file comes from the past or from the future. An example of code block that expects the "currently supported version" of a given kind of magic numbers, here [Cmxa], is as follows: {[ let ic = open_in_bin path in begin try Magic_number.(expect_current Cmxa (get_info ic)) with | Parse_error error -> ... | Unexpected error -> ... end; ... ]} Parse errors distinguish inputs that are [Not_a_magic_number str], which are likely to come from the file being completely different, and [Truncated str], raised by headers that are the (possibly empty) prefix of a valid magic number. Unexpected errors correspond to valid magic numbers that are not the one expected, either because it corresponds to a different kind, or to a newer or older version. The helper functions [explain_parse_error] and [explain_unexpected_error] will generate a textual explanation of each error, for use in error messages. @since 4.11 PgXmXoPaa@@@@@@3PPPPPPPP@#@AA+1native_obj_config^Pa aPa a!@@;@@'flambda@@P{@@@!jPa&a*Pa&a9@@P@@@A@@@@@Pa a Pa:a=@O native object files have a format and magic number that depend on certain native-compiler configuration parameters. This configuration space is expressed by the [native_obj_config] type. Pa>a@Pbb@@@@@@@@AP@@#Pa&a1@@@Ш@г"$boolPa&a4Pa&a8@@*3PPPPPPPP@`8;@@@A@@@@@&#@@@A@@1@@!k@-@@A@)O5P'&@&&@@@&@&@@N43@1native_obj_configPbbPbb)@гV1native_obj_configQbb,Qbb=@@ @@@!t3QQQQQQQQ@a[@A@@@Qbb @O] I the native object file configuration of the active/configured compiler. Qb>b@Qb>b@@@@@@@Q4@@@OmQ/@@@@@@!A+'version_Q3bbQ4bb@@;@@H}AQ@@@!v@@@@Q<bbQ=bb@@A@QU@@@Aг #intQFbb @@3QDQCQCQDQDQDQDQD@@S>;@@@A#@@@!{@!u@@@@@@@@A@@@@3QQQPQPQQQQQQQQQQ@ @A@A+$kind`Q_bbQ`bb@@;@@$Exec@@QibbQjbb@@Q@#Cmi@@QrbbQsbb@@Q@#Cmo@@Q{bbQ|bb@@Q@#Cma@@QbbQbb@@Q@#Cmx@@@!}@@QbbQbb@@Q@$Cmxa@@@!~@@QbbQbc@@Q@$Cmxs@@QccQcc@@Q@#Cmt@@QccQcc$@@Q@(Ast_impl@@Qcc%Qcc/@@Q@(Ast_intf@@Qcc0Qcc:@@Q@@@A@@@@@Qbb@@@@Q@@#hhQbbf@e@@@i@#eeQbbc@b@@@f@#bbQbb`@_@@@c@#__Qbb]@\@@@`@#\\QbbQbb@U@г^1native_obj_configQbb_@@e3QQQQQQQQ@;@@@A@@@@@0@@@.@Ae@@@@g@#ccQbbQbb@\@гe1native_obj_configRbbf@@lg@@@@i@#eeR ccc@b@@@f@#bbRcc!`@_@@@c@#__Rcc']@\@@@`@#\\Rcc2Z@Y@@@]@@A@Y@@3RRRRRRRR@-@AZ]@A+$infoaR+c<cCR,c<cG@@;@@$kind@@@@@!R8cLcPR9cLc[@@RQ@'version@@@@@!RDc\c`REc\cq@P  Note: some versions of the compiler use the same [version] suffix for all kinds, but others use different versions counters for different kinds. We may only assume that versions are growing monotonically (not necessarily always by one) between compiler versions. RRcrcvRSdVd@@@@@@@Rk@@@A@@@@@RVc<c>RWdd@@@@Ro@@#++&R^cLcT@%@@Ш@г.$kindRgcLcVRhcLcZ@@63RfReReRfRfRfRfRf@x E;@@@A@@@@@@@@@A@@>@@!@:@#661Ruc\cg@"@@Ш@г9'versionR~c\ciRc\cp@@A@@D@@!@@PR>=@==@@@=@=@@A@9@@3RRRRRRRR@$@A:9@A+#rawbRddRdd@@;@@IARn@@@!@@@@RddRdd@P򐠠 ^ the type of raw magic numbers, such as "Caml1999A027" for the .cma files of OCaml 4.10 RddRde@@@@@@@@@R@@@Aг&stringRdd@@3RRRRRRRR@S);@@@A1@@@!@!@@@@&#@@@A%@@'QRؐ%$@$$@@@$@$@@3RRRRRRRR@@A32@RR琠; {3 Parsing magic numbers} ReeRee>@@@@@@3RRRRRRRR@+SM@AA++parse_errorcRe@eGRe@eR@@;@@)TruncatedR@@@!@@SeUeYSeUen@@S@2Not_a_magic_numberR@@@!@@SeoesSeoe@@S'@@@A@@@@@Se@eB@@@@S*@@#  SeUe[SeUed@@г"&stringS#eUeh#@@)3S!S S S!S!S!S!S!@?9;@@@A@@@@@@@@@A(@@@@*@#&&S-eoeuS.eoe@@г(&stringS7eoe)@@/*@@@@,@@A@(@@S(+@3explain_parse_errorSBeeSCee@б@гR&optionSMeeSNee@г$kindSWeeSXee@@ @@@!3SYSXSXSYSYSYSYSY@wqk@A@@@ @@@! @@б@г|+parse_errorSmeeSnee@@ @@@!@@гSD&stringSzeeS{ee@@ @@@!#@@@@@!&@@@&@@!)/ @@@See@Qא Produces an explanation for a parse error. If no kind is provided, we use an unspecific formulation suggesting that any compiler-produced object file would have been satisfying. SeeSfjf@@@@@@@S@@@QS@@@@@@H%parseSffSff@б@г#rawSffSff@@ @@@!3SSSSSSSS@a8@A@@гRN&resultSffSff@г$infoSffSff@@ @@@!@@г+parse_errorSffSff@@ @@@!'@@@%@@@!-Sff$@@@4 @@!17'@@@Sff*@R?; Parses a raw magic number SffSff@@@@@@@T@@:@ROT@@@@@@P)read_infoTffTff@б@гR*in_channelTfgT fg @@ @@@!3T!T T T!T!T!T!T!@i~8@A@@гR&resultT.fg$T/fg*@г $infoT8fgT9fg@@ @@@!@@гU+parse_errorTFfgTGfg"@@ @@@!'@@@%@@@!-TRfg$@@@4 @@!17'@@@TXff*@R  Read a raw magic number from an input channel. If the data read [str] is not a valid magic number, it can be recovered from the [Truncated str | Not_a_magic_number str] payload of the [Error parse_error] case. If parsing succeeds with an [Ok info] result, we know that exactly [magic_length] bytes have been consumed from the input_channel. If you also wish to enforce that the magic number is at the current version, see {!read_current_info} below. Teg+g-Tfi&i+@@@@@@@T~@@:@RTy@@@@@@P,magic_lengthT|i-i3T}i-i?@гTX#intTi-iBTi-iE@@ @@@!3TTTTTTTT@g|6@A@@@Ti-i/ @Rސ 1 all magic numbers take the same number of bytes TiFiHTiFi~@@@@@@@T@@@RT@@@@@@!TT - {3 Checking that magic numbers are current} TiiTii@@@@@@3TTTTTTTT@3F1@AA+*unexpecteddTiiTii@А!a@!3TTTTTTTT@;@@!@A@A@G@B@@@TiiTii@@@@T@@ATiiTii@@L+@;@A(expected@@e@!İTiiTii@@U@&actual@@&e@!ȰTiiTii@@U@@@A@Y@@@@@ @@@@#Tii@@@Ш@А!a4UiiUii@@"@@!9@ @#Uii@@@Ш@А!a"CUii @@&@@!G@$@@A@>@@\>=@A+0unexpected_erroreU"iiU#ij@@;@@$Kindl@@@!@@@!@@U6jj U7jj$@@UO@'Version@@@!נ@@@!@@@!@@UNj%j)UOj%jO@@Ug@@@A@@@@@URii@@@@Uj@@#//UYjj UZjj@#@г1*unexpectedUcjj-@г5$kindUkjjUljj@@=3UjUiUiUjUjUjUjUj@R;@@@A@@@@@!@@@@A@@@G =@@@@?@#;;Uxj%j+Uyj%j2@*@г=$kindUj%j6Uj%j:@@E@@гB*unexpectedUj%jE>@гF'versionUj%j=Uj%jD@@N)@@@S*I@@@@K@@A@G@@3UUUUUUUU@*@AHK@-check_currentUjQjWUjQjd@б@гN$kindUjQjgUjQjk@@ @@@!3UUUUUUUU@E@A@@б@г$infoUjQjoUjQjs@@ @@@!@@гTS&resultUjQjUjQj@гU$unitUjQjxUjQj|@@ @@@!(@@г0unexpected_errorUjQj~UjQj@@ @@@!6@@@%@@@!<UjQjw$@@@2 @@!@5'@@@F@@!CI*@@@UjQjS-@TG x [check_current kind info] checks that the provided magic [info] is the current version of [kind]'s magic header. VjjVjk@@@@@@@V@@=@TWV@@@@@@b8explain_unexpected_errorVkkVkk6@б@г0unexpected_errorV'kk9V(kkI@@ @@@!3V)V(V(V)V)V)V)V)@{8@A@@гV&stringV6kkMV7kkS@@ @@@!@@@@@!@@@VAkk @T 4 Provides an explanation of the [unexpected_error]. VNkTkVVOkTk@@@@@@@Vg@@@TVb@@@@@@1A+%errorfVfkkVgkk@@;@@+Parse_error@@@!@@VukkVvkk@@V@0Unexpected_errorc@@@!@@VkkVkk@@V@@@A@@@@@Vkk@@@@V@@#  VkkVkk@@г"+parse_errorVkk#@@)3VVVVVVVV@o]:;@@@A@@@@@@@@@A)@@@@+@#''VkkVkk@ @г)0unexpected_errorVkk*@@0+@@@@-@@A@)@@3VVVVVVVV@@A*-@1read_current_infoVkkVkl@б-expected_kindгV%&optionVllVll$@гq$kindVllVll@@ @@@"3VVVVVVVV@<uo@A@@@ @@@" @@б@гUn*in_channelVll(Vll2@@ @@@"@@гU{&resultVllDVllJ@гҠ$infoVll7Vll;@@ @@@" -@@г%errorW ll=W llB@@ @@@" ;@@@%@@@" AWll6$@@@2 @@"E5'@@`E@@"HWll +@@@W!kk.@Up Read a magic number as [read_info], and check that it is the current version as its kind. If the [expected_kind] argument is [None], any kind is accepted. W.lKlMW/ll@@@@@@@WG@@>@UWB@@@@@@hWPWO " {3 Information on magic numbers} WLllWMlm&@@@@@@3WKWJWJWKWKWKWKWK@z1@A.string_of_kindWXm(m.WYm(m<@б@г$kindWcm(m?Wdm(mC@@ @@@"@@гW:&stringWpm(mGWqm(mM@@ @@@"'@@@@@"*@@@W{m(m* @Uʐ Z a user-printable string for a kind, eg. "exec" or "cmo", to use in error messages. WmNmPWmm@@@@@@@W@@@UW@@@@@@I2human_name_of_kindWmmWmm@б@гK$kindWmmWmm@@ @@@"3WWWWWWWW@b]8@A@@гW&stringWmmWmm@@ @@@"@@@@@"@@@Wmm @V u a user-meaningful name for a kind, eg. "executable file" or "bytecode object file", to use in error messages. WmmWnnW@@@@@@@W@@@V#W吠@@@@@@1+current_rawWnYn_WnYnj@б@г$kindWnYnmWnYnq@@ @@@"3WWWWWWWW@J_8@A@@гi#rawXnYnuXnYnx@@ @@@"@@@@@"@@@X nYn[ @V\ ' the current magic number of each kind Xnyn{Xnyn@@@@@@@X3@@@VlX.@@@@@@1/current_versionX1nnX2nn@б@гݠ$kindX<nnX=nn@@ @@@"3X>X=X=X>X>X>X>X>@J_8@A@@г'versionXKnnXLnn@@ @@@"@@@@@"@@@XVnn @V " the current version of each kind XcnnXdnn@@@@@@@X|@@@VXw@@@@@@1XX G {3 Raw representations} Mainly for internal usage and testing. X nnX ooK@@@@@@3XXXXXXXX@CX1@AA+(raw_kindgX oMoTX oMo\@@;@@OAXc@@@"@@@@X oMoOX oMoe@V琠 O the type of raw magic numbers kinds, such as "Caml1999A" for .cma files XofohXoo@@@@@@@@@X@@@Aг&stringX oMo_@@3XXXXXXXX@.(;@@@A0@@@""@"@@@@%"@@@A $@@&W X̐$#@##@@@#@#@@D10@*parse_kindXooXoo@б@гM(raw_kindXooXoo@@ @@@"$3XXXXXXXX@^XR@A@@гXI&optionXooXoo@г$kindXooXoo@@ @@@"%@@@@@@"' @@@$@@"(!'@@@Yoo@WS> parse a raw kind into a kind YooYop@@@@@@@Y*@@*@WcY%@@@@@@@(raw_kindY(ppY)pp@б@гԠ$kindY3pp!Y4pp%@@ @@@")3Y5Y4Y4Y5Y5Y5Y5Y5@Yn8@A@@г(raw_kindYBpp)YCpp1@@ @@@"*@@@@@"+@@@YMpp @W ! the current raw representation of a kind. In some cases the raw representation of a kind has changed over compiler versions, so other files of the same kind may have different raw kinds. Note that all currently known cases are parsed correctly by [parse_kind]. YZp2p4Y[qVqZ@@@@@@@Ys@@@WYn@@@@@@1#rawYqq\qbYrq\qe@б@гQ$infoY|q\qhY}q\ql@@ @@@",3Y~Y}Y}Y~Y~Y~Y~Y~@J_8@A@@г#rawYq\qpYq\qs@@ @@@"-@@@@@".@@@Yq\q^ @W吠  A valid raw representation of the magic number. Due to past and future changes in the string representation of magic numbers, we cannot guarantee that the raw strings returned for past and future versions actually match the expectations of those compilers. The representation is accurate for current versions, and it is correctly parsed back into the desired version by the parsing functions above. YqtqvY&s.s3@@@@@@@Y@@@WY@@@@@@1)all_kindsY(s5s;Y(s5sD@гY?$listY(s5sLY(s5sP@гn$kindY(s5sGY(s5sK@@ @@@"/3YYYYYYYY@Rg@@A@@@ @@@"1 @@@Y(s5s7@@Y@@@@ @ 7 1A@@A@A@A@VPA@A@i@I@@}h@4A@A@]@@A@L@@jC@#@@{A@A @@}@]9@@3ZZZZZZZZ@B_;@A7 ZfXSXiZ)sQsT@@@ZfXSXS@ @Z/Z. ; {1 Minimal support for Unicode characters in identifiers} Z++sVsVZ,+sVs@@@@@@3Z*Z)Z)Z*Z*Z*Z*Z*@  @  A@ > )@  A@A@A@A@RLA@@U@5@@hA@-'A@W@7@A@4@@@uN@.@A@]@=@@@@@L @A;ZxZw  Characters allowed in identifiers are, currently: - ASCII letters A-Z a-z - Latin-1 letters (U+00C0 - U+00FF except U+00D7 and U+00F7) - Character sequences which normalize to the above character under NFC - digits 0-9, underscore, single quote Zt-ssZu2tt@@@@@@I+Utf8_lexemehZ4ttZ4tt@Z@@БA+!tiZ5ttZ5tt@@;@@QAZd@@@"3@@@@Z5ttZ5tt@@@@Z@@@Aг &stringZ5tt @@3ZZZZZZZZ@w;@@@A"@@@"8@"2@@@@@@@@A @@@@3ZZZZZZZZ@@A@)normalizeZ7ttZ7tt@б@гZ&stringZ7ttZ7tt@@ @@@":3ZZZZZZZZ@@:@A@@гY\&Result!tZ7ttZ7tt@ Z7tuZ7tu@@гW!tZ7ttZ7tt@@ @@@";"@@гe!tZ7ttZ7tt@@ @@@"<0@@@.@@@"?6[7tt%@@@= @@"@:@(@@@[7tt+@YU Normalize the given UTF-8 encoded string. Invalid UTF-8 sequences results in a error and are replaced by U+FFFD. Identifier characters are put in NFC normalized form. Other Unicode characters are left unchanged. [8uu[<uu@@@@@@@[,@@;@Ye['@@@@@@Y*capitalize[*>uu[+>uv@б@гZ&string[5>uv [6>uv@@ @@@"A3[7[6[6[7[7[7[7[7@r8@A@@гY&Result!t[H>uv[I>uv @ [L>uv![M>uv"@@гȠ!t[W>uv[X>uv@@ @@@"B"@@г֠!t[e>uv[f>uv@@ @@@"C0@@@.@@@"F6[q>uv%@@@= @@"G:@(@@@[w>uu+@YƐ Like [normalize], but if the string starts with a lowercase identifier character, it is replaced by the corresponding uppercase character. Subsequent characters are not changed. [?v#v%[Avv@@@@@@@[@@;@Y[@@@@@@Y,uncapitalize[Cvv[Cvv@б@г[p&string[Cvv[Cvw@@ @@@"H3[[[[[[[[@r8@A@@гZ>&Result!t[Cvw[Cvw@ [Cvw[Cvw@@г9!t[Cvw [Cvw @@ @@@"I"@@гG!t[Cvw [Cvw @@ @@@"J0@@@.@@@"M6[Cvw %@@@= @@"N:@(@@@[Cvv+@Z7 Like [normalize], but if the string starts with an uppercase identifier character, it is replaced by the corresponding lowercase character. Subsequent characters are not changed. [Dww[Fww@@@@@@@\@@;@ZG\ @@@@@@Y.is_capitalized\ Hww\ Hww@б@г!t\Hww\Hww@@ @@@"O3\\\\\\\\@r8@A@@г[䠐$bool\&Hww\'Hwx@@ @@@"P@@@@@"Q@@@\1Hww @Z Returns [true] if the given normalized string starts with an uppercase identifier character, [false] otherwise. May return wrong results if the string is not normalized. \>Ixx\?Kxx@@@@@@@\W@@@Z\R@@@@@@13is_valid_identifier\UMxx\VMxx@б@гѠ!t\`Mxx\aMxx@@ @@@"R3\b\a\a\b\b\b\b\b@J_8@A@@г\-$bool\oMxx\pMxx@@ @@@"S@@@@@"T@@@\zMxx @Zɐ Check whether the given normalized string is a valid OCaml identifier: - all characters are identifier characters - it does not start with a digit or a single quote \Nxx\Qyy@@@@@@@\@@@Z\@@@@@@1,is_lowercase\Syy\Syy@б@г!t\Syy\Syy@@ @@@"U3\\\\\\\\@J_8@A@@г\v$bool\Syy\Syy@@ @@@"V@@@@@"W@@@\Syy @[ Returns [true] if the given normalized string only contains lowercase identifier character, [false] otherwise. May return wrong results if the string is not normalized. \Tyy\Vz]z@@@@@@@\@@@["\䐠@@@@@@1A+1validation_resultj\Xzz\Xzz@@;@@%Valid@@\Yzz\Yzz@@] @1Invalid_character[%Uchar!t@@@"@@]Zzz]Zzz@[S7 Character not allowed ]Zzz]Zzz@@@@@@@]*@1Invalid_beginningߐ[%Uchar!t@@@"@@]"[zz]#[z{ @[r % Character not allowed as first char ]0[z{]1[z{9@@@@@@@]I@@@A@@@@@]4Xzz@@@@]L@@#KK];YzzI@H@@@L@#HH]AZzz]BZzz@0@гJL]LZzz]MZzz@O]PZzzM@N@@W3]O]N]N]O]O]O]O]O@q;@@@A@@@@@$@@@"@A T@@@@V[]hTS@SS@@@S@S@#OO]g[zz]h[z{@7@гQS]r[z{]s[z{ @V]v[z{ T@U@@^&V@@@@X[]VU@UU@@@U@U@@A@Q@@3]]]]]]]]@1@ARc@3validate_identifier]]{;{A]]{;{T@б(with_dotг]Y$bool]]{;{`]]{;{d@@ @@@#3]]]]]]]]@N@A@@б@г!t]]{;{h]]{;{i@@ @@@#@@гѠ1validation_result]]{;{m]]{;{~@@ @@@#@@@@@#!@@2ZΠ*@@@# @@#(]]{;{V@@ @]]{;{=@\ Like [is_valid_identifier], but returns a more detailed error code. Dots can be allowed to extend support to path-like identifiers. ]^{{]_{|@@@@@@@]@@#@\+]퐠@@@@@@H>starts_like_a_valid_identifier]a||]a||7@б@гl!t]a||9]a||:@@ @@@#3]]]]]]]]@ax8@A@@г]Ƞ$bool^ a||>^ a||B@@ @@@#@@@@@#@@@^a|| @\d Checks whether the given normalized string starts with an identifier character other than a digit or a single quote. Subsequent characters are not checked. ^"b|C|E^#d||@@@@@@@^;@@@\t^6@@@@@@1@A@1@@S@3 @@~@]WA@y@Y2@@3^B^A^A^B^B^B^B^B@F[4@A^I4tt^Je||@@@^L4tt@ @^a^` {1 Miscellaneous type aliases} ^]g||^^g|}@@@@@@3^\^[^[^\^\^\^\^\@3@A@c@C@@e>@@@A@@d@@@,@AA+(filepathk^i}!}&^i}!}.@@;@@UA^U@@@#@@@@^i}!}!^i}!}7@@@@^@@@Aг &string^i}!}1 @@3^^^^^^^^@6;@@@A"@@@#@#@@@@@@@@A @@@@A@A+'modnamel^j}8}=^j}8}D@@;@@UA^@@@#@@@@^j}8}8^j}8}M@@@@^@@@Aг &string^j}8}G @@3^^^^^^^^@aE?;@@@A#@@@#@#@@@@@@@@A@@@@3^^^^^^^^@ @A@A+$crcsm^k}N}S^k}N}W@@;@@V A^]@?@@@#@^N]|&Digest!t@@@$2@@@$4@@$5@@@$7@@@@^k}N}N^k}N}z@@@@_@@@Aг $list_k}N}v @В@г$'modname_ k}N}[_ k}N}b@@,3_ _ _ _ _ _ _ _ @Qke?;@@@AG@@@$L@#@@@@%@@@"@A@@@г5&option_#k}N}n_$k}N}t@г:<_-k}N}e_.k}N}k@?_1k}N}l_2k}N}m@@@H&@@@M' @@@X(+@@@])_8k}N}ZB@@D@@3_6_5_5_6_6_6_6_6@*@AED@A+&alertsn_Dm}|}_Em}|}@@;@@VAV&String#Map!t_#@@@&@@@&@@@@_Xm}|}|_Ym}|}@@@@_q@@@Aг&Stdlib_hm}|}_im}|}@_lm}|}_mm}|}@@!_qm}|}_rm}|}@ @%_vm}|}@@г'&string_m}|}_m}|}@@/3_~_}_}_~_~_~_~_~@tD;@@@AL@@@&@$S@@@@6@@@3@A@@@F 6@@8@@3________@ @A98@@^]@]]`@]?]9B@]\@\t\*@[[@[gZ@ZZ}@Z]Y@YY@YbY@XX@XX@WWu@WA@.o@.kW;@@,,Y@,9+@++@+b+@**@**z@*Z* @))@))G@)')@((c@(C'@''@''O@'/'@&&@&&W@&7%@%%@%%L@%,$@$$@$@#l@#g$@@#b#@""@""1@"!@!!h@!H!!@! @  @ _ YA@ @L@,@=@6@@J@C@@9@@P@0@|@!@@a@[@@@@|@@@\@W@@9@L@@@i*@ @@@@@@@@@A@A@`ZA@A@@3`1`0`0`1`1`1`1`1@@A@ H************************************************************************`:A@@`;A@L@ H `@BMM`ABM@ H OCaml `FC`GC@ H `LD`MD3@ H Xavier Leroy, projet Cristal, INRIA Rocquencourt `RE44`SE4@ H `XF`YF@ H Copyright 1996 Institut National de Recherche en Informatique et `^G`_G@ H en Automatique. `dH`eHg@ H `jIhh`kIh@ H All rights reserved. This file is distributed under the terms of `pJ`qJ@ H the GNU Lesser General Public License version 2.1, with the `vK`wKN@ H special exception on linking described in the file LICENSE. `|LOO`}LO@ H `M`M@ H************************************************************************`N`N5@ * Miscellaneous useful types and functions {b Warning:} this module is unstable and part of {{!Compiler_libs}compiler-libs}. `=* {1 Reporting fatal errors} _ ;* Raise the [Fatal_error] exception with the given string. ^Ԡ u* Format the arguments according to the given format string and raise [Fatal_error] with the resulting string. ^S "* {1 Exceptions and finalization} ^# * [try_finally work ~always ~exceptionally] is designed to run code in [work] that may fail with an exception, and has two kind of cleanup routines: [always], that must be run after any execution of the function (typically, freeing system resources), and [exceptionally], that should be run only if [work] or [always] failed with an exception (typically, undoing user-visible state changes that would only make sense if the function completes correctly). For example: {[ let objfile = outputprefix ^ ".cmo" in let oc = open_out_bin objfile in Misc.try_finally (fun () -> bytecode ++ Timings.(accumulate_time (Generate sourcefile)) (Emitcode.to_file oc modulename objfile); Warnings.check_fatal ()) ~always:(fun () -> close_out oc) ~exceptionally:(fun _exn -> remove_file objfile); ]} If [exceptionally] fail with an exception, it is propagated as usual. If [always] or [exceptionally] use exceptions internally for control-flow but do not raise, then [try_finally] is careful to preserve any exception backtrace coming from [work] or [always] for easier debugging. ] * [reraise_preserving_backtrace e f] is (f (); raise e) except that the current backtrace is preserved, even if [f] uses exceptions internally. ] 6* {1 List operations} ] 9* [map_end f l t] is [map f l @ t], just more efficient. \ ?* [map_end f l t] is [map f (rev l) @ t], just more efficient. [ B* Like [List.map], with guaranteed left-to-right evaluation order [y * Same as [List.for_all] but for a binary predicate. In addition, this [for_all2] never fails: given two lists with different lengths, it returns false. Zޠ \* [replicate_list elem n] is the list with [n] elements all identical to [elem]. Z b* [list_remove x l] returns a copy of [l] with the first element equal to [x] removed. Z D* Return the last element and the other elements of the given list. Y :* Detects a repeated label - for use with labeled tuples. Y <* {1 Hash table operations} Y b* Create a hashtable with the given initial size and fills it with the given bindings. Xz )* {1 Extensions to the standard library} X_ $* {2 Extensions to the List module} Q * The lexicographic order supported by the provided order. There is no constraint on the relative lengths of the lists. Wj * Returns [true] if and only if the given lists have the same length and content with respect to the given equality function. VԠ * If all elements of the given list are [Some _] then [Some xs] is returned with the [xs] being the contents of those [Some]s, with order preserved. Otherwise return [None]. V[ * [let r1, r2 = map2_prefix f l1 l2] If [l1] is of length n and [l2 = h2 @ t2] with h2 of length n, r1 is [List.map2 f l1 h1] and r2 is t2. U }* Same as {!List.iter2}, but the function is applied to the index of the element as first argument (counting from 0) Tꠠ * [split_at n l] returns the pair [before, after] where [before] is the [n] first elements of [l] and [after] the remaining ones. If [l] has less than [n] elements, raises Invalid_argument. T[ * [chunks_of n t] returns a list of nonempty lists whose concatenation is equal to the original list. Every list has [n] elements, except for possibly the last list, which may have fewer. [chunks_of] raises if [n <= 0]. Sߠ * Returns [true] if and only if the given list, with respect to the given equality function on list members, is a prefix of the list [of_]. SD * Returns the longest list that, with respect to the provided equality function, is a prefix of both of the given lists. The input lists, each with such longest common prefix removed, are also returned. Q &* {2 Extensions to the Option module} P %* {2 Extensions to the Array module} Nՠ 5* Same as [Array.exists2] from the standard library. Oꠠ * Same as [Array.for_all] from the standard library, but the function is applied with the index of the element as first argument, and the element itself as second argument. Og &* {2 Extensions to the String module} 1 )* {1 Operations on files and file paths} / ** Search a file in a list of directories. - 3* Search a relative file in a list of directories. -( * Normalize file name [Foo.ml] to [foo.ml], using NFC and case-folding. Return [Error] if the input is not a valid utf-8 byte sequence , * Same as {!find_in_path_rel} , but search also for normalized unit filename, i.e. if name is [Foo.ml], allow [/path/Foo.ml] and [/path/foo.ml] to match. ,S * Delete the given file if it exists and is a regular file. Does nothing for other kinds of files. Never raises an error. , * [expand_directory alt file] eventually expands a [+] at the beginning of file into [alt] (an alternate root directory) + (* [split_path_contents ?sep s] interprets [s] as the value of a "PATH"-like variable and returns the corresponding list of directories. [s] is split using the platform-specific delimiter, or [~sep] if it is passed. Returns the empty list if [s] is empty. +G * [copy_file ic oc] reads the contents of file [ic] and copies them to [oc]. It stops when encountering EOF on [ic]. * * [copy_file_chunk ic oc n] reads [n] bytes from [ic] and copies them to [oc]. It raises [End_of_file] when encountering EOF on [ic]. * * [string_of_file ic] reads the contents of file [ic] and copies them to a string. It stops when encountering EOF on [ic]. *? u* Produce output in temporary file, then rename it (as atomically as possible) to the desired output file name. [output_to_file_via_temporary filename fn] opens a temporary file which is passed to [fn] (name + output channel). When [fn] returns, the channel is closed and the temporary file is renamed to [filename]. ) * Open the given [filename] for writing (in binary mode), pass the [out_channel] to the given function, then close the channel. If the function raises an exception then [filename] will be removed. )< b* [concat_null_terminated [x1;x2; ... xn]] is [x1 ^ "\000" ^ x2 ^ "\000" ^ ... ^ xn ^ "\000"] (砠 t* [split_null_terminated s] is similar [String.split_on_char '\000'] but ignores the trailing separator, if any ( * Return the given file name without its extensions. The extensions is the longest suffix starting with a period and not including a directory separator, [.xyz.uvw] for instance. Return the given name if it does not contain an extension. (L9* {1 Integer operations} (1 P* [log2 n] returns [s] such that [n = 1 lsl s] if [n] is a power of 2' Q* [align n a] rounds [n] upwards to a multiple of [a] (a power of 2). ' g* [no_overflow_add n1 n2] returns [true] if the computation of [n1 + n2] does not overflow. 'H g* [no_overflow_sub n1 n2] returns [true] if the computation of [n1 - n2] does not overflow. & g* [no_overflow_mul n1 n2] returns [true] if the computation of [n1 * n2] does not overflow. & e* [no_overflow_lsl n k] returns [true] if the computation of [n lsl k] does not overflow. &@ * Convert a string to an integer. Unlike {!Stdlib.int_of_string}, this function accepts the string representation of [max_int + 1] and returns [min_int] in this case. %<* Likewise, at type [int32] %t<* Likewise, at type [int64] %. * Likewise, at type [nativeint] $蠠 *[find_first_mono p] takes an integer predicate [p : int -> bool] that we assume: 1. is monotonic on natural numbers: if [a <= b] then [p a] implies [p b], 2. is satisfied for some natural numbers in range [0; max_int] (this is equivalent to: [p max_int = true]). [find_first_mono p] is the smallest natural number N that satisfies [p], computed in O(log(N)) calls to [p]. Our implementation supports two cases where the preconditions on [p] are not respected: - If [p] is always [false], we silently return [max_int] instead of looping or crashing. - If [p] is non-monotonic but eventually true, we return some satisfying value. $s8* {1 String operations} $X * [search_substring pat str start] returns the position of the first occurrence of string [pat] in string [str]. Search starts at offset [start] in [str]. Raise [Not_found] if [pat] does not occur. # * [replace_substring ~before ~after str] replaces all occurrences of [before] with [after] in [str] and returns the resulting string. # v* [rev_split_words s] splits [s] in blank-separated words, and returns the list of words in reverse order. #6 {* [String.cut_at s c] returns a pair containing the sub-string before the first occurrence of [c] in [s], and the sub-string after the first occurrence of [c] in [s]. [let (before, after) = String.cut_at s c in before ^ String.make 1 c ^ after] is the identity if [s] contains [c]. Raise [Not_found] if the character does not appear in the string @since 4.01 "Ġ * [ordinal_suffix n] is the appropriate suffix to append to the numeral [n] as an ordinal number: [1] -> ["st"], [2] -> ["nd"], [3] -> ["rd"], [4] -> ["th"], and so on. Handles larger numbers (e.g., [42] -> ["nd"]) and the numbers 11--13 (which all get ["th"]) correctly. "~ * [normalise_eol s] returns a fresh copy of [s] with any '\r' characters removed. Intended for pre-processing text which will subsequently be printed on a channel which performs EOL transformations (i.e. Windows) "8 * [delete_eol_spaces s] returns a fresh copy of [s] with any end of line spaces removed. Intended to normalize the output of the toplevel for tests. !?* {1 Operations on references} !נ * [protect_refs l f] temporarily sets [r] to [v] for each [R (r, v)] in [l] while executing [f]. The previous contents of the references is restored even if [f] raises an exception, without altering the exception backtrace. ! r* [get_ref lr] returns the content of the list reference [lr] and reset its content to the empty list.  * [set_or_ignore f opt x] sets [opt] to [f x] if it returns [Some _], or leaves it unmodified if it returns [None].   +* {1 Operations on triples and quadruples}  6* {1 Spell checking and ``did you mean'' suggestions}  * [edit_distance a b cutoff] computes the edit distance between strings [a] and [b]. To help efficiency, it uses a cutoff: if the distance [d] is smaller than [cutoff], it returns [Some d], else [None]. The distance algorithm currently used is Damerau-Levenshtein: it computes the number of insertion, deletion, substitution of letters, or swapping of adjacent letters to go from one word to the other. The particular algorithm may change in the future. # * [spellcheck env name] takes a list of names [env] that exist in the current environment and an erroneous [name], and returns a list of suggestions taken from [env], that are close enough to [name] that it may be a typo for one of them.  * [aligned_hint main hint] vertically aligns a [main] message and a hint message. The vertical alignment is controlled by the use of [@{ ... @}] boxes: the start of one box, in either the hint or the main message, will be shifted on the left to ensure that the end of the two boxes are vertically aligned, taking in account a pre-existing [prefix] before the main message. For instance, {[ let main, sub = align_hint ~prefix:"Error: " (doc_printf "@{The value @}%a is not an instance variable" Style.inline_code "foobar" ) (doc_printf "@{Did you mean @}%a" Style.inline_code "foobaz" ) in printf "Error: %a%a" pp_doc main pp_doc sub ]} produces the following text: {[ Error: The value "foobaz" is not an instance variable Hint: Did you mean "foobar"? ]} where the main message has been shifted to the left to align ["foobaz"] and ["foobar"].  )* Same as [align_hint ~prefix:"Error: "] ^ * [aligned_hint ~prefix fmt ... hint] align the potential hint with the main error message generated by the format string [fmt] before printing the two message.  * [did_you_mean ~pp choices] hints that the user may have meant one of the option in [choices]. Each choice is printed with the [pp] function, or [Style.inline_code] if [pp]=[None]. 㠠>* {1 Color support detection } ,* {1 Styling handling for terminal output } , foreground aNNaNN@, background aNOaNO@ * ANSI escape sequence for the given style aOOaOO@ [setup opt] will enable or disable color handling on standard formatters according to the value of color setting [opt]. Only the first call to this function has an effect. a3QQa5RBR}@ > adds functions to support color tags to the given formatter. a8RRa8RR@= See the -error-style option a;RRa;RS@7* {1 Formatted output} ٠ K* [print_if ppf flag fmt x] prints [x] with [fmt] on [ppf] if [b] is true. .5* See manual section Ӡ )* {1 Displaying configuration variables}  |* Display the values of all compiler configuration variables from module [Config], then exit the program with code 0.  b* Display the value of the given configuration variable, then exit the program with code 0. 9=* {1 Handling of build maps}  * Build maps cause the compiler to normalize file names embedded in object files, thus leading to more reproducible builds.  S* Returns the map encoded in the [BUILD_PATH_PREFIX_MAP] environment variable.  * Returns the list of [--debug-prefix-map] flags to be passed to the assembler, built from the [BUILD_PATH_PREFIX_MAP] environment variable. h * {1 Handling of magic numbers} M * a typical magic number is "Caml1999I011"; it is formed of an alphanumeric prefix, here Caml1990I, followed by a version, here 011. The prefix identifies the kind of the versioned data: here the I indicates that it is the magic number for .cmi files. All magic numbers have the same byte length, [magic_length], and this is important for users as it gives them the number of bytes to read to obtain the byte sequence that should be a magic number. Typical user code will look like: {[ let ic = open_in_bin path in let magic = try really_input_string ic Magic_number.magic_length with End_of_file -> ... in match Magic_number.parse magic with | Error parse_error -> ... | Ok info -> ... ]} A given compiler version expects one specific version for each kind of object file, and will fail if given an unsupported version. Because versions grow monotonically, you can compare the parsed version with the expected "current version" for a kind, to tell whether the wrong-magic object file comes from the past or from the future. An example of code block that expects the "currently supported version" of a given kind of magic numbers, here [Cmxa], is as follows: {[ let ic = open_in_bin path in begin try Magic_number.(expect_current Cmxa (get_info ic)) with | Parse_error error -> ... | Unexpected error -> ... end; ... ]} Parse errors distinguish inputs that are [Not_a_magic_number str], which are likely to come from the file being completely different, and [Truncated str], raised by headers that are the (possibly empty) prefix of a valid magic number. Unexpected errors correspond to valid magic numbers that are not the one expected, either because it corresponds to a different kind, or to a newer or older version. The helper functions [explain_parse_error] and [explain_unexpected_error] will generate a textual explanation of each error, for use in error messages. @since 4.11 - * native object files have a format and magic number that depend on certain native-compiler configuration parameters. This configuration space is expressed by the [native_obj_config] type.  J* the native object file configuration of the active/configured compiler.  !* Note: some versions of the compiler use the same [version] suffix for all kinds, but others use different versions counters for different kinds. We may only assume that versions are growing monotonically (not necessarily always by one) between compiler versions.  _* the type of raw magic numbers, such as "Caml1999A027" for the .cma files of OCaml 4.10 +<* {3 Parsing magic numbers}  * Produces an explanation for a parse error. If no kind is provided, we use an unspecific formulation suggesting that any compiler-produced object file would have been satisfying. L<* Parses a raw magic number  砠 * Read a raw magic number from an input channel. If the data read [str] is not a valid magic number, it can be recovered from the [Truncated str | Not_a_magic_number str] payload of the [Error parse_error] case. If parsing succeeds with an [Ok info] result, we know that exactly [magic_length] bytes have been consumed from the input_channel. If you also wish to enforce that the magic number is at the current version, see {!read_current_info} below.  2* all magic numbers take the same number of bytes  N .* {3 Checking that magic numbers are current}  3 y* [check_current kind info] checks that the provided magic [info] is the current version of [kind]'s magic header.  렠 5* Provides an explanation of the [unexpected_error].  * Read a magic number as [read_info], and check that it is the current version as its kind. If the [expected_kind] argument is [None], any kind is accepted.  Ƞ #* {3 Information on magic numbers}  [* a user-printable string for a kind, eg. "exec" or "cmo", to use in error messages.  t v* a user-meaningful name for a kind, eg. "executable file" or "bytecode object file", to use in error messages.  . (* the current magic number of each kind  蠠 #* the current version of each kind  H* {3 Raw representations} Mainly for internal usage and testing.  P* the type of raw magic numbers kinds, such as "Caml1999A" for .cma files  f?* parse a raw kind into a kind  "* the current raw representation of a kind. In some cases the raw representation of a kind has changed over compiler versions, so other files of the same kind may have different raw kinds. Note that all currently known cases are parsed correctly by [parse_kind].  * A valid raw representation of the magic number. Due to past and future changes in the string representation of magic numbers, we cannot guarantee that the raw strings returned for past and future versions actually match the expectations of those compilers. The representation is accurate for current versions, and it is correctly parsed back into the desired version by the parsing functions above. q <* {1 Minimal support for Unicode characters in identifiers} 젠 * Characters allowed in identifiers are, currently: - ASCII letters A-Z a-z - Latin-1 letters (U+00C0 - U+00FF except U+00D7 and U+00F7) - Character sequences which normalize to the above character under NFC - digits 0-9, underscore, single quote  * Normalize the given UTF-8 encoded string. Invalid UTF-8 sequences results in a error and are replaced by U+FFFD. Identifier characters are put in NFC normalized form. Other Unicode characters are left unchanged.  * Like [normalize], but if the string starts with a lowercase identifier character, it is replaced by the corresponding uppercase character. Subsequent characters are not changed.  * Like [normalize], but if the string starts with an uppercase identifier character, it is replaced by the corresponding lowercase character. Subsequent characters are not changed. . * Returns [true] if the given normalized string starts with an uppercase identifier character, [false] otherwise. May return wrong results if the string is not normalized. 蠠 * Check whether the given normalized string is a valid OCaml identifier: - all characters are identifier characters - it does not start with a digit or a single quote  * Returns [true] if the given normalized string only contains lowercase identifier character, [false] otherwise. May return wrong results if the string is not normalized. \8* Character not allowed  &* Character not allowed as first char  * Like [is_valid_identifier], but returns a more detailed error code. Dots can be allowed to extend support to path-like identifiers. \ * Checks whether the given normalized string starts with an identifier character other than a digit or a single quote. Subsequent characters are not checked.  !* {1 Miscellaneous type aliases} @-./boot/ocamlc)-nostdlib"-I&./boot*-use-prims2runtime/primitives"-g0-strict-sequence*-principal(-absname"-w8+a-4-9-40-41-42-44-45-48+-warn-error"+a*-bin-annot/-strict-formats"-I%utils"-I%utils"-I'parsing"-I&typing"-I(bytecomp"-I,file_formats"-I&lambda"-I*middle_end"-I2middle_end/closure"-I2middle_end/flambda"-I=middle_end/flambda/base_types"-I'asmcomp"-I&driver"-I(toplevel"-I%tools"-I'runtime"-I1otherlibs/dynlink"-I-otherlibs/str"-I4otherlibs/systhreads"-I.otherlibs/unix"-I8otherlibs/runtime_events"-cbubv =/builds/workspace/precheck/flambda/false/label/ocaml-linux-32 >10/.-,+*)('&%$#"! @@0`i;aьL©y3bbbbbbbb@b@@0z HkGs8CamlinternalFormatBasics0%FU(Q/Tu0]mWϓ:Mݠb0ob]6>Vê>&Stdlib0Lku]8_٠.Stdlib__Buffer08APF< t..Stdlib__Digest0l!LHgErζ .Stdlib__Domain0:M;׉<O$Ġ.Stdlib__Either0Vy`u~c à.Stdlib__Format0ܚ#G7m|/Stdlib__Hashtbl0ѱN][/!+Stdlib__Map0L5xE|O0~,J-.Stdlib__Result06 ]/J+Stdlib__Seq0nwzG&amg+Stdlib__Set0\$;7 P0Vê>A-ְא 0@5?@@3@Xi@%ްSƖS@@ @@@i@@UT@ȰTT@ @@/K-@@Zt@;0 ]C]@(֐)"RR@''հQ'Q@ M ޓ@@WX@L^m^@@ ' -l-ΰZZ@((@I;ݓ%&D@@U?U @@@"#VZ[@@@#Ր$,o,@@mZ**Q/0;W`Xa a@@B)@S#S@S&'8@ @ z;%%@Hw(n(@(b :   V+,,-B@)U@@ ϒ @:ؓ6@ʓ2R4@'q'ZԒZ@*+C@@8–8̰RR~@/0CC@DVW @@+f+@ ' DgDqUڒU@ݒM(u(@@@pH@K..8_8l@ذ6p_`@7q  +5@!m!\]@@RːSj@@@ |@%&@%F%@@(G@V*R*@  ̰!.!QĖQ@ E ͐]45I]S]@@'"'y@#>#^Ő_0@ @@  @?d?qV%V@M"#?@@  %3%maa@@@z@3@$\$@@@/Ӑ05@Ͱߕ@ O .͐/[[@  OZȐ[R@o[@"o"((@o.dM@^^V@+c+@  ްِ2x(z(VW8@=l@56$@@=@G@Zbb@\CkJYZP@_0.A.ZgZ\ǐ]G@(9d@TU1@**ӰaZa@@"@ /%V%@_"q"@I0!!k$ϓ$@l@@@,- @ړ/0>XX@^A"@  аaaw@6+@@P@@