|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Functions for performing binary searches over ordered sequences given\n [length] and [get] functions.\n\n These functions can be specialized and added to a data structure using the functors\n supplied in {{!Base.Binary_searchable}[Binary_searchable]} and described in\n {{!Base.Binary_searchable_intf}[Binary_searchable_intf]}.\n\n {2:examples Examples}\n\n Below we assume that the functions [get], [length] and [compare] are in scope:\n\n {[\n (* Find the index of an element [e] in [t] *)\n binary_search t ~get ~length ~compare `First_equal_to e;\n\n (* Find the index where an element [e] should be inserted *)\n binary_search t ~get ~length ~compare `First_greater_than_or_equal_to e;\n\n (* Find the index in [t] where all elements to the left are less than [e] *)\n binary_search_segmented t ~get ~length ~segment_of:(fun e' ->\n if compare e' e <= 0 then `Left else `Right) `First_on_right\n ]} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 1, |
|
"pos_bol": 0, |
|
"pos_cnum": 0 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 941, |
|
"pos_cnum": 950 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 1, |
|
"pos_bol": 0, |
|
"pos_cnum": 0 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 941, |
|
"pos_cnum": 950 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 1, |
|
"pos_bol": 0, |
|
"pos_cnum": 0 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 941, |
|
"pos_cnum": 950 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 1, |
|
"pos_bol": 0, |
|
"pos_cnum": 0 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 941, |
|
"pos_cnum": 950 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 1, |
|
"pos_bol": 0, |
|
"pos_cnum": 0 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 941, |
|
"pos_cnum": 950 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_open", |
|
{ |
|
"popen_expr": "Import", |
|
"popen_override": "Override", |
|
"popen_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 952, |
|
"pos_cnum": 952 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 952, |
|
"pos_cnum": 964 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"popen_attributes": [] |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 952, |
|
"pos_cnum": 952 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 952, |
|
"pos_cnum": 964 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1716, |
|
"pos_cnum": 1720 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1716, |
|
"pos_cnum": 1733 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "binary_search" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "pos" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1734, |
|
"pos_cnum": 1744 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1734, |
|
"pos_cnum": 1747 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "len" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 1748, |
|
"pos_cnum": 1758 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 1748, |
|
"pos_cnum": 1761 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "t" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 1762, |
|
"pos_cnum": 1767 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 1762, |
|
"pos_cnum": 1769 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "length" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "t" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1783 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1785 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1789 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1792 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1783 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1792 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "get" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "t" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1804 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1806 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "int", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1810 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1813 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "elt" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1817 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1821 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1810 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1821 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1804 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1821 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "compare" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "elt" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1837 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1841 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "key" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1845 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1849 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "int", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1853 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1845 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1837 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_variant", |
|
[ |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1865 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Last_strictly_less_than" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1865 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {v | < elt X | v} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1890 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1943 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1890 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1943 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1890 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1943 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1890 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1943 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1951 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1978 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Last_less_than_or_equal_to" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1951 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1978 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {v | <= elt X | v} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1979 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 2029 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1979 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 2029 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1979 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 2029 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 1979 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 1944, |
|
"pos_cnum": 2029 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2037 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2051 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Last_equal_to" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2037 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2051 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {v | = elt X | v} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2052 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2115 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2052 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2115 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2052 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2115 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2052 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2030, |
|
"pos_cnum": 2115 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2123 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2138 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "First_equal_to" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2123 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2138 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {v | X = elt | v} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2139 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2201 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2139 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2201 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2139 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2201 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2139 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2116, |
|
"pos_cnum": 2201 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2209 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2240 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "First_greater_than_or_equal_to" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2209 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2240 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {v | X >= elt | v} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2241 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2287 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2241 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2287 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2241 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2287 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2241 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2202, |
|
"pos_cnum": 2287 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2295 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2323 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "First_strictly_greater_than" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2295 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2323 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {v | X > elt | v} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2324 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2373 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2324 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2373 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2324 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2373 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2324 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2288, |
|
"pos_cnum": 2373 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
} |
|
], |
|
[ "Closed" ], |
|
null |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1863 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 2374, |
|
"pos_cnum": 2380 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "key" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2381, |
|
"pos_cnum": 2386 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2381, |
|
"pos_cnum": 2390 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"option", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "int", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2396 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2399 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2396 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2381, |
|
"pos_cnum": 2386 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 50, |
|
"pos_bol": 1858, |
|
"pos_cnum": 1863 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1823, |
|
"pos_cnum": 1828 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 1794, |
|
"pos_cnum": 1799 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 1770, |
|
"pos_cnum": 1775 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 1762, |
|
"pos_cnum": 1767 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 1748, |
|
"pos_cnum": 1753 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1734, |
|
"pos_cnum": 1739 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [binary_search ?pos ?len t ~length ~get ~compare which elt] takes [t] that is sorted\n in increasing order according to [compare], where [compare] and [elt] divide [t] into\n three (possibly empty) segments:\n\n {v\n | < elt | = elt | > elt |\n v}\n\n [binary_search] returns the index in [t] of an element on the boundary of segments\n as specified by [which]. See the diagram below next to the [which] variants.\n\n By default, [binary_search] searches the entire [t]. One can supply [?pos] or\n [?len] to search a slice of [t].\n\n [binary_search] does not check that [compare] orders [t], and behavior is\n unspecified if [compare] doesn't order [t]. Behavior is also unspecified if\n [compare] mutates [t]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 966, |
|
"pos_cnum": 966 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1686, |
|
"pos_cnum": 1715 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 966, |
|
"pos_cnum": 966 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1686, |
|
"pos_cnum": 1715 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 966, |
|
"pos_cnum": 966 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1686, |
|
"pos_cnum": 1715 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 966, |
|
"pos_cnum": 966 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1686, |
|
"pos_cnum": 1715 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1716, |
|
"pos_cnum": 1716 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1716, |
|
"pos_cnum": 1716 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2391, |
|
"pos_cnum": 2406 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 78, |
|
"pos_bol": 3329, |
|
"pos_cnum": 3333 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 78, |
|
"pos_bol": 3329, |
|
"pos_cnum": 3356 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "binary_search_segmented" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "pos" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3357, |
|
"pos_cnum": 3367 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3357, |
|
"pos_cnum": 3370 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "len" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3371, |
|
"pos_cnum": 3381 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3371, |
|
"pos_cnum": 3384 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "t" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3385, |
|
"pos_cnum": 3390 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3385, |
|
"pos_cnum": 3392 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "length" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "t" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3408 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3412 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3415 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3415 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "get" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "t" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3427 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3429 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "int", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3433 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3436 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "elt" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3440 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3444 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3433 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3444 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3427 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3444 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "segment_of" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "elt" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3463 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3467 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_variant", |
|
[ |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3473 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3478 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Left" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3473 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3478 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3481 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3487 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Right" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3481 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3487 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
} |
|
], |
|
[ "Closed" ], |
|
null |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3471 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3489 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3463 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3489 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_variant", |
|
[ |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3498 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3511 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Last_on_left" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3498 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3511 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3514 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "First_on_right" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3514 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
} |
|
], |
|
[ "Closed" ], |
|
null |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"option", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "int", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3537 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3540 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3537 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3491, |
|
"pos_cnum": 3496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3446, |
|
"pos_cnum": 3451 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3417, |
|
"pos_cnum": 3422 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3393, |
|
"pos_cnum": 3398 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3385, |
|
"pos_cnum": 3390 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3371, |
|
"pos_cnum": 3376 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3357, |
|
"pos_cnum": 3362 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [binary_search_segmented ?pos ?len t ~length ~get ~segment_of which] takes a\n [segment_of] function that divides [t] into two (possibly empty) segments:\n\n {v\n | segment_of elt = `Left | segment_of elt = `Right |\n v}\n\n [binary_search_segmented] returns the index of the element on the boundary of the\n segments as specified by [which]: [`Last_on_left] yields the index of the last\n element of the left segment, while [`First_on_right] yields the index of the first\n element of the right segment. It returns [None] if the segment is empty.\n\n By default, [binary_search] searches the entire [t]. One can supply [?pos] or\n [?len] to search a slice of [t].\n\n [binary_search_segmented] does not check that [segment_of] segments [t] as in the\n diagram, and behavior is unspecified if [segment_of] doesn't segment [t]. Behavior\n is also unspecified if [segment_of] mutates [t]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 2408, |
|
"pos_cnum": 2408 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3273, |
|
"pos_cnum": 3328 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 2408, |
|
"pos_cnum": 2408 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3273, |
|
"pos_cnum": 3328 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 2408, |
|
"pos_cnum": 2408 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3273, |
|
"pos_cnum": 3328 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 2408, |
|
"pos_cnum": 2408 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3273, |
|
"pos_cnum": 3328 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 78, |
|
"pos_bol": 3329, |
|
"pos_cnum": 3329 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 78, |
|
"pos_bol": 3329, |
|
"pos_cnum": 3329 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/base/binary_search.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3532, |
|
"pos_cnum": 3547 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|