[ { "psig_desc": [ "Psig_attribute", { "attr_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1006 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1011 }, "loc_ghost": false }, "txt2": "alert" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_apply", { "pexp_desc": [ "Pexp_ident", "unstable" ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1012 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1020 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [ [ [ "Nolabel" ], { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", "The Effect interface may change in incompatible ways in the future.", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 16, "pos_bol": 1021, "pos_cnum": 1026 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 16, "pos_bol": 1021, "pos_cnum": 1093 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 16, "pos_bol": 1021, "pos_cnum": 1025 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 16, "pos_bol": 1021, "pos_cnum": 1094 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] } ] ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1012 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 16, "pos_bol": 1021, "pos_cnum": 1094 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1012 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 16, "pos_bol": 1021, "pos_cnum": 1094 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1002 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 17, "pos_bol": 1095, "pos_cnum": 1096 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 15, "pos_bol": 1002, "pos_cnum": 1002 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 17, "pos_bol": 1095, "pos_cnum": 1096 }, "loc_ghost": false } }, { "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", " Effects.\n\n See 'Language extensions/Effect handlers' section in the manual.\n\n @since 5.0 ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 19, "pos_bol": 1098, "pos_cnum": 1098 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 23, "pos_bol": 1182, "pos_cnum": 1199 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 19, "pos_bol": 1098, "pos_cnum": 1098 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 23, "pos_bol": 1182, "pos_cnum": 1199 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 19, "pos_bol": 1098, "pos_cnum": 1098 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 23, "pos_bol": 1182, "pos_cnum": 1199 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 19, "pos_bol": 1098, "pos_cnum": 1098 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 23, "pos_bol": 1182, "pos_cnum": 1199 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 19, "pos_bol": 1098, "pos_cnum": 1098 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 23, "pos_bol": 1182, "pos_cnum": 1199 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1209 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1210 }, "loc_ghost": false }, "txt2": "t" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1206 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1208 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_open" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_constr", "eff", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1213 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1215 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1213 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1219 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "ptype_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", " The type of effects. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1225 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1252 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1225 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1252 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1225 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1252 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1225 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 26, "pos_bol": 1225, "pos_cnum": 1252 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1201 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1224 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1201 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 25, "pos_bol": 1201, "pos_cnum": 1224 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_exception", { "ptyexn_constructor": { "pext_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1264 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1273 }, "loc_ghost": false }, "txt2": "Unhandled" }, "pext_kind": [ "Pext_decl", [], [ "Pcstr_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "t", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1276 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1278 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1276 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1280 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1284 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1287 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "pext_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1254 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1287 }, "loc_ghost": false }, "pext_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", " [Unhandled e] is raised when effect [e] is performed and there is no\n handler for it. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 29, "pos_bol": 1288, "pos_cnum": 1288 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 30, "pos_bol": 1361, "pos_cnum": 1383 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 29, "pos_bol": 1288, "pos_cnum": 1288 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 30, "pos_bol": 1361, "pos_cnum": 1383 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 29, "pos_bol": 1288, "pos_cnum": 1288 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 30, "pos_bol": 1361, "pos_cnum": 1383 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 29, "pos_bol": 1288, "pos_cnum": 1288 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 30, "pos_bol": 1361, "pos_cnum": 1383 }, "loc_ghost": false } } ] }, "ptyexn_loc": { "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 }, "ptyexn_attributes": [] } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1254 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 28, "pos_bol": 1254, "pos_cnum": 1287 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_exception", { "ptyexn_constructor": { "pext_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 32, "pos_bol": 1385, "pos_cnum": 1395 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 32, "pos_bol": 1385, "pos_cnum": 1423 }, "loc_ghost": false }, "txt2": "Continuation_already_resumed" }, "pext_kind": [ "Pext_decl", [], [ "Pcstr_tuple", [] ], null ], "pext_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 32, "pos_bol": 1385, "pos_cnum": 1385 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 32, "pos_bol": 1385, "pos_cnum": 1423 }, "loc_ghost": false }, "pext_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", " Exception raised when a continuation is continued or discontinued more\n than once. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 33, "pos_bol": 1424, "pos_cnum": 1424 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 34, "pos_bol": 1499, "pos_cnum": 1516 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 33, "pos_bol": 1424, "pos_cnum": 1424 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 34, "pos_bol": 1499, "pos_cnum": 1516 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 33, "pos_bol": 1424, "pos_cnum": 1424 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 34, "pos_bol": 1499, "pos_cnum": 1516 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 33, "pos_bol": 1424, "pos_cnum": 1424 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 34, "pos_bol": 1499, "pos_cnum": 1516 }, "loc_ghost": false } } ] }, "ptyexn_loc": { "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 }, "ptyexn_attributes": [] } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 32, "pos_bol": 1385, "pos_cnum": 1385 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 32, "pos_bol": 1385, "pos_cnum": 1423 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1527 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1534 }, "loc_ghost": false }, "txt2": "perform" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "t", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1537 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1539 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1537 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1541 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1545 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1547 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1537 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1547 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [ "%perform" ], "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", " [perform e] performs an effect [e].\n\n @raise Unhandled if there is no handler for [e]. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 37, "pos_bol": 1561, "pos_cnum": 1561 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 39, "pos_bol": 1602, "pos_cnum": 1657 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 37, "pos_bol": 1561, "pos_cnum": 1561 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 39, "pos_bol": 1602, "pos_cnum": 1657 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 37, "pos_bol": 1561, "pos_cnum": 1561 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 39, "pos_bol": 1602, "pos_cnum": 1657 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 37, "pos_bol": 1561, "pos_cnum": 1561 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 39, "pos_bol": 1602, "pos_cnum": 1657 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1518 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1560 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1518 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 36, "pos_bol": 1518, "pos_cnum": 1560 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_module", { "pmd_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 41, "pos_bol": 1659, "pos_cnum": 1666 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 41, "pos_bol": 1659, "pos_cnum": 1670 }, "loc_ghost": false }, "txt2": "Deep" }, "pmd_type": { "pmty_desc": [ "Pmty_signature", [ { "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", " Deep handlers ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1679 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1699 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1679 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1699 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1679 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1699 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1679 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1699 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1679 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 42, "pos_bol": 1677, "pos_cnum": 1699 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Nonrecursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1723 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1735 }, "loc_ghost": false }, "txt2": "continuation" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1716 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1718 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ], [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1719 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1721 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1739 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1741 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1742 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1744 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1738 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1758 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "ptype_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", " [('a,'b) continuation] is a delimited continuation that expects a ['a]\n value and returns a ['b] value. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 45, "pos_bol": 1759, "pos_cnum": 1761 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 46, "pos_bol": 1836, "pos_cnum": 1876 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 45, "pos_bol": 1759, "pos_cnum": 1761 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 46, "pos_bol": 1836, "pos_cnum": 1876 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 45, "pos_bol": 1759, "pos_cnum": 1761 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 46, "pos_bol": 1836, "pos_cnum": 1876 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 45, "pos_bol": 1759, "pos_cnum": 1761 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 46, "pos_bol": 1836, "pos_cnum": 1876 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1703 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1758 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1703 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 44, "pos_bol": 1701, "pos_cnum": 1758 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1884 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1892 }, "loc_ghost": false }, "txt2": "continue" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1895 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1897 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1899 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1901 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1894 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1915 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1919 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1921 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1925 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1927 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1919 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1927 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1894 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1927 }, "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", " [continue k x] resumes the continuation [k] by passing [x] to [k].\n\n @raise Continuation_already_resumed if the continuation has already been\n resumed. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 49, "pos_bol": 1928, "pos_cnum": 1930 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 52, "pos_bol": 2081, "pos_cnum": 2098 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 49, "pos_bol": 1928, "pos_cnum": 1930 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 52, "pos_bol": 2081, "pos_cnum": 2098 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 49, "pos_bol": 1928, "pos_cnum": 1930 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 52, "pos_bol": 2081, "pos_cnum": 2098 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 49, "pos_bol": 1928, "pos_cnum": 1930 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 52, "pos_bol": 2081, "pos_cnum": 2098 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1880 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1927 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1880 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 48, "pos_bol": 1878, "pos_cnum": 1927 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2106 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2117 }, "loc_ghost": false }, "txt2": "discontinue" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2120 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2122 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2124 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2126 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2119 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2140 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2144 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2147 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2151 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2153 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2144 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2153 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2119 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2153 }, "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", " [discontinue k e] resumes the continuation [k] by raising the\n exception [e] in [k].\n\n @raise Continuation_already_resumed if the continuation has already been\n resumed. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 55, "pos_bol": 2154, "pos_cnum": 2156 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 59, "pos_bol": 2330, "pos_cnum": 2347 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 55, "pos_bol": 2154, "pos_cnum": 2156 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 59, "pos_bol": 2330, "pos_cnum": 2347 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 55, "pos_bol": 2154, "pos_cnum": 2156 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 59, "pos_bol": 2330, "pos_cnum": 2347 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 55, "pos_bol": 2154, "pos_cnum": 2156 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 59, "pos_bol": 2330, "pos_cnum": 2347 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2102 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2153 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2102 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 54, "pos_bol": 2100, "pos_cnum": 2153 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 61, "pos_bol": 2349, "pos_cnum": 2355 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 61, "pos_bol": 2349, "pos_cnum": 2381 }, "loc_ghost": false }, "txt2": "discontinue_with_backtrace" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2388 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2390 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2392 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2394 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2387 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2408 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2412 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2415 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Printexcraw_backtrace", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2419 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2441 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2445 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2447 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2419 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2447 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2412 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2447 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2387 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2447 }, "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", " [discontinue_with_backtrace k e bt] resumes the continuation [k] by\n raising the exception [e] in [k] using [bt] as the origin for the\n exception.\n\n @raise Continuation_already_resumed if the continuation has already been\n resumed. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 63, "pos_bol": 2448, "pos_cnum": 2450 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 68, "pos_bol": 2691, "pos_cnum": 2708 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 63, "pos_bol": 2448, "pos_cnum": 2450 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 68, "pos_bol": 2691, "pos_cnum": 2708 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 63, "pos_bol": 2448, "pos_cnum": 2450 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 68, "pos_bol": 2691, "pos_cnum": 2708 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 63, "pos_bol": 2448, "pos_cnum": 2450 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 68, "pos_bol": 2691, "pos_cnum": 2708 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 61, "pos_bol": 2349, "pos_cnum": 2351 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2447 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 61, "pos_bol": 2349, "pos_cnum": 2351 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 62, "pos_bol": 2383, "pos_cnum": 2447 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2725 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2732 }, "loc_ghost": false }, "txt2": "handler" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2718 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2720 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ], [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2721 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2723 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_record", [ { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2741 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2745 }, "loc_ghost": false }, "txt2": "retc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2747 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2749 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2753 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2755 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2747 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2755 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2741 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 71, "pos_bol": 2735, "pos_cnum": 2756 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2763 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2767 }, "loc_ghost": false }, "txt2": "exnc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2769 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2772 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2776 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2778 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2769 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2778 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2763 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 72, "pos_bol": 2757, "pos_cnum": 2779 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2786 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2790 }, "loc_ghost": false }, "txt2": "effc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_poly", [ { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2792 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2794 }, "loc_ghost": false }, "txt2": "c" } ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "t", [ { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2795 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2797 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2795 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2799 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "option", [ { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2805 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2807 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2808 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2810 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2804 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2824 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2828 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2830 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2804 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2830 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2803 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2838 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2795 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2838 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2792 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2838 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2786 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2838 }, "loc_ghost": false }, "pld_attributes": [] } ] ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_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", " [('a,'b) handler] is a handler record with three fields -- [retc]\n is the value handler, [exnc] handles exceptions, and [effc] handles the\n effects performed by the computation enclosed by the handler. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 74, "pos_bol": 2841, "pos_cnum": 2843 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 76, "pos_bol": 2991, "pos_cnum": 3061 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 74, "pos_bol": 2841, "pos_cnum": 2843 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 76, "pos_bol": 2991, "pos_cnum": 3061 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 74, "pos_bol": 2841, "pos_cnum": 2843 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 76, "pos_bol": 2991, "pos_cnum": 3061 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 74, "pos_bol": 2841, "pos_cnum": 2843 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 76, "pos_bol": 2991, "pos_cnum": 3061 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2712 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2840 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 70, "pos_bol": 2710, "pos_cnum": 2712 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 73, "pos_bol": 2780, "pos_cnum": 2840 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3069 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3079 }, "loc_ghost": false }, "txt2": "match_with" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3082 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3084 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3088 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3090 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3082 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3090 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3095 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3097 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "handler", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3102 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3104 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3105 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3107 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3101 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3116 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3120 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3122 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3101 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3122 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3095 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3122 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3081 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3122 }, "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", " [match_with f v h] runs the computation [f v] in the handler [h]. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3125 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3197 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3125 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3197 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3125 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3197 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3125 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 79, "pos_bol": 3123, "pos_cnum": 3197 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3065 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3122 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3065 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 78, "pos_bol": 3063, "pos_cnum": 3122 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 81, "pos_bol": 3199, "pos_cnum": 3209 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 81, "pos_bol": 3199, "pos_cnum": 3223 }, "loc_ghost": false }, "txt2": "effect_handler" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 81, "pos_bol": 3199, "pos_cnum": 3206 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 81, "pos_bol": 3199, "pos_cnum": 3208 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_record", [ { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3232 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3236 }, "loc_ghost": false }, "txt2": "effc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_poly", [ { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3238 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3240 }, "loc_ghost": false }, "txt2": "b" } ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "t", [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3242 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3244 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3242 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3246 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "option", [ { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3252 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3254 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3256 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3258 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3251 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3272 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3276 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3278 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3251 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3278 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3250 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3286 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3242 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3286 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3238 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3286 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3232 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3286 }, "loc_ghost": false }, "pld_attributes": [] } ] ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_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", " ['a effect_handler] is a deep handler with an identity value handler\n [fun x -> x] and an exception handler that raises any exception\n [fun e -> raise e]. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 83, "pos_bol": 3289, "pos_cnum": 3291 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 85, "pos_bol": 3434, "pos_cnum": 3462 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 83, "pos_bol": 3289, "pos_cnum": 3291 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 85, "pos_bol": 3434, "pos_cnum": 3462 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 83, "pos_bol": 3289, "pos_cnum": 3291 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 85, "pos_bol": 3434, "pos_cnum": 3462 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 83, "pos_bol": 3289, "pos_cnum": 3291 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 85, "pos_bol": 3434, "pos_cnum": 3462 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 81, "pos_bol": 3199, "pos_cnum": 3201 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3288 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 81, "pos_bol": 3199, "pos_cnum": 3201 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 82, "pos_bol": 3226, "pos_cnum": 3288 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3470 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3478 }, "loc_ghost": false }, "txt2": "try_with" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3481 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3483 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3487 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3489 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3481 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3489 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3494 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3496 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "effect_handler", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3500 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3502 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3500 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3517 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3521 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3523 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3500 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3523 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3494 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3523 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3480 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3523 }, "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", " [try_with f v h] runs the computation [f v] under the handler [h]. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3526 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3599 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3526 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3599 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3526 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3599 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3526 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 88, "pos_bol": 3524, "pos_cnum": 3599 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3466 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3523 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3466 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 87, "pos_bol": 3464, "pos_cnum": 3523 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 90, "pos_bol": 3601, "pos_cnum": 3612 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 90, "pos_bol": 3601, "pos_cnum": 3625 }, "loc_ghost": false }, "txt2": "get_callstack" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3633 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3635 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3636 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3638 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3632 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3652 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3656 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3659 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "Printexcraw_backtrace", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3663 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3685 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3656 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3685 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3632 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 91, "pos_bol": 3628, "pos_cnum": 3685 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [ "caml_get_continuation_callstack" ], "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", " [get_callstack c n] returns a description of the top of the call stack on\n the continuation [c], with at most [n] entries. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 93, "pos_bol": 3726, "pos_cnum": 3728 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 94, "pos_bol": 3806, "pos_cnum": 3862 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 93, "pos_bol": 3726, "pos_cnum": 3728 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 94, "pos_bol": 3806, "pos_cnum": 3862 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 93, "pos_bol": 3726, "pos_cnum": 3728 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 94, "pos_bol": 3806, "pos_cnum": 3862 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 93, "pos_bol": 3726, "pos_cnum": 3728 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 94, "pos_bol": 3806, "pos_cnum": 3862 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 90, "pos_bol": 3601, "pos_cnum": 3603 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 92, "pos_bol": 3688, "pos_cnum": 3725 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 90, "pos_bol": 3601, "pos_cnum": 3603 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 92, "pos_bol": 3688, "pos_cnum": 3725 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 41, "pos_bol": 1659, "pos_cnum": 1673 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 95, "pos_bol": 3863, "pos_cnum": 3866 }, "loc_ghost": false }, "pmty_attributes": [] }, "pmd_attributes": [], "pmd_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 41, "pos_bol": 1659, "pos_cnum": 1659 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 95, "pos_bol": 3863, "pos_cnum": 3866 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 41, "pos_bol": 1659, "pos_cnum": 1659 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 95, "pos_bol": 3863, "pos_cnum": 3866 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_module", { "pmd_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 97, "pos_bol": 3868, "pos_cnum": 3875 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 97, "pos_bol": 3868, "pos_cnum": 3882 }, "loc_ghost": false }, "txt2": "Shallow" }, "pmd_type": { "pmty_desc": [ "Pmty_signature", [ { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3930 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3942 }, "loc_ghost": false }, "txt2": "continuation" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3923 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3925 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ], [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3926 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3928 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_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", " [('a,'b) continuation] is a delimited continuation that expects a ['a]\n value and returns a ['b] value. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 101, "pos_bol": 3943, "pos_cnum": 3945 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 102, "pos_bol": 4020, "pos_cnum": 4060 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 101, "pos_bol": 3943, "pos_cnum": 3945 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 102, "pos_bol": 4020, "pos_cnum": 4060 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 101, "pos_bol": 3943, "pos_cnum": 3945 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 102, "pos_bol": 4020, "pos_cnum": 4060 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 101, "pos_bol": 3943, "pos_cnum": 3945 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 102, "pos_bol": 4020, "pos_cnum": 4060 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3917 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3942 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3917 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 100, "pos_bol": 3915, "pos_cnum": 3942 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4068 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4073 }, "loc_ghost": false }, "txt2": "fiber" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4077 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4079 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4083 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4085 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4077 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4085 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4091 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4093 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4095 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4097 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4090 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4111 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4076 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4111 }, "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", " [fiber f] constructs a continuation that runs the computation [f]. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4114 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4187 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4114 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4187 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4114 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4187 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4114 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 105, "pos_bol": 4112, "pos_cnum": 4187 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4064 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4111 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4064 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 104, "pos_bol": 4062, "pos_cnum": 4111 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4204 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4211 }, "loc_ghost": false }, "txt2": "handler" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4197 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4199 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ], [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4200 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4202 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_record", [ { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4220 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4224 }, "loc_ghost": false }, "txt2": "retc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4226 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4228 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4232 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4234 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4226 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4234 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4220 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 108, "pos_bol": 4214, "pos_cnum": 4235 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4242 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4246 }, "loc_ghost": false }, "txt2": "exnc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4248 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4251 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4255 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4257 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4248 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4257 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4242 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 109, "pos_bol": 4236, "pos_cnum": 4258 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4265 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4269 }, "loc_ghost": false }, "txt2": "effc" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_poly", [ { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4271 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4273 }, "loc_ghost": false }, "txt2": "c" } ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "t", [ { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4274 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4276 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4274 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4278 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "option", [ { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4284 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4286 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4287 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4289 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4283 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4303 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4307 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4309 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4283 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4309 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4282 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4317 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4274 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4317 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4271 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4317 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4265 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4317 }, "loc_ghost": false }, "pld_attributes": [] } ] ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_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", " [('a,'b) handler] is a handler record with three fields -- [retc]\n is the value handler, [exnc] handles exceptions, and [effc] handles the\n effects performed by the computation enclosed by the handler. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 111, "pos_bol": 4320, "pos_cnum": 4322 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 113, "pos_bol": 4470, "pos_cnum": 4540 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 111, "pos_bol": 4320, "pos_cnum": 4322 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 113, "pos_bol": 4470, "pos_cnum": 4540 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 111, "pos_bol": 4320, "pos_cnum": 4322 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 113, "pos_bol": 4470, "pos_cnum": 4540 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 111, "pos_bol": 4320, "pos_cnum": 4322 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 113, "pos_bol": 4470, "pos_cnum": 4540 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4191 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4319 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 107, "pos_bol": 4189, "pos_cnum": 4191 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 110, "pos_bol": 4259, "pos_cnum": 4319 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4548 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4561 }, "loc_ghost": false }, "txt2": "continue_with" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4565 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4567 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4568 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4570 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4564 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4584 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4588 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4590 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "handler", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4595 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4597 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4598 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4600 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4594 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4609 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4613 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4615 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4594 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4615 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4588 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4615 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4564 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4615 }, "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", " [continue_with k v h] resumes the continuation [k] with value [v] with\n the handler [h].\n\n @raise Continuation_already_resumed if the continuation has already been\n resumed.\n ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 116, "pos_bol": 4616, "pos_cnum": 4618 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 121, "pos_bol": 4811, "pos_cnum": 4816 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 116, "pos_bol": 4616, "pos_cnum": 4618 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 121, "pos_bol": 4811, "pos_cnum": 4816 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 116, "pos_bol": 4616, "pos_cnum": 4618 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 121, "pos_bol": 4811, "pos_cnum": 4816 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 116, "pos_bol": 4616, "pos_cnum": 4618 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 121, "pos_bol": 4811, "pos_cnum": 4816 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4544 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4615 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4544 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 115, "pos_bol": 4542, "pos_cnum": 4615 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4824 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4840 }, "loc_ghost": false }, "txt2": "discontinue_with" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4844 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4846 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4847 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4849 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4843 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4863 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4867 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4870 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "handler", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4875 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4877 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4878 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4880 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4874 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4889 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4893 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4895 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4874 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4895 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4867 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4895 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4843 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4895 }, "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", " [discontinue_with k e h] resumes the continuation [k] by raising the\n exception [e] with the handler [h].\n\n @raise Continuation_already_resumed if the continuation has already been\n resumed.\n ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 124, "pos_bol": 4896, "pos_cnum": 4898 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 129, "pos_bol": 5108, "pos_cnum": 5113 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 124, "pos_bol": 4896, "pos_cnum": 4898 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 129, "pos_bol": 5108, "pos_cnum": 5113 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 124, "pos_bol": 4896, "pos_cnum": 4898 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 129, "pos_bol": 5108, "pos_cnum": 5113 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 124, "pos_bol": 4896, "pos_cnum": 4898 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 129, "pos_bol": 5108, "pos_cnum": 5113 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4820 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4895 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4820 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 123, "pos_bol": 4818, "pos_cnum": 4895 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 131, "pos_bol": 5115, "pos_cnum": 5121 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 131, "pos_bol": 5115, "pos_cnum": 5147 }, "loc_ghost": false }, "txt2": "discontinue_with_backtrace" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5155 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5157 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5158 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5160 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5154 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5174 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "exn", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5178 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5181 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Printexcraw_backtrace", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5185 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5207 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "handler", [ { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5216 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5218 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5219 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5221 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5215 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5230 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "c" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5234 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5215 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5185 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5178 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 132, "pos_bol": 5150, "pos_cnum": 5154 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "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", " [discontinue_with k e bt h] resumes the continuation [k] by raising the\n exception [e] with the handler [h] using the raw backtrace [bt] as the\n origin of the exception.\n\n @raise Continuation_already_resumed if the continuation has already been\n resumed.\n ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 134, "pos_bol": 5237, "pos_cnum": 5239 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 140, "pos_bol": 5518, "pos_cnum": 5523 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 134, "pos_bol": 5237, "pos_cnum": 5239 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 140, "pos_bol": 5518, "pos_cnum": 5523 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 134, "pos_bol": 5237, "pos_cnum": 5239 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 140, "pos_bol": 5518, "pos_cnum": 5523 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 134, "pos_bol": 5237, "pos_cnum": 5239 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 140, "pos_bol": 5518, "pos_cnum": 5523 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 131, "pos_bol": 5115, "pos_cnum": 5117 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 131, "pos_bol": 5115, "pos_cnum": 5117 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 133, "pos_bol": 5211, "pos_cnum": 5236 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 142, "pos_bol": 5525, "pos_cnum": 5536 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 142, "pos_bol": 5525, "pos_cnum": 5549 }, "loc_ghost": false }, "txt2": "get_callstack" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "continuation", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5557 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5559 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "b" ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5560 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5562 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5556 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5576 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5580 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5583 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "Printexcraw_backtrace", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5587 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5609 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5580 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5609 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5556 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 143, "pos_bol": 5552, "pos_cnum": 5609 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [ "caml_get_continuation_callstack" ], "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", " [get_callstack c n] returns a description of the top of the call stack on\n the continuation [c], with at most [n] entries. ", { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 145, "pos_bol": 5650, "pos_cnum": 5652 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 146, "pos_bol": 5730, "pos_cnum": 5786 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 145, "pos_bol": 5650, "pos_cnum": 5652 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 146, "pos_bol": 5730, "pos_cnum": 5786 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 145, "pos_bol": 5650, "pos_cnum": 5652 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 146, "pos_bol": 5730, "pos_cnum": 5786 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 145, "pos_bol": 5650, "pos_cnum": 5652 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 146, "pos_bol": 5730, "pos_cnum": 5786 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 142, "pos_bol": 5525, "pos_cnum": 5527 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 144, "pos_bol": 5612, "pos_cnum": 5649 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 142, "pos_bol": 5525, "pos_cnum": 5527 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 144, "pos_bol": 5612, "pos_cnum": 5649 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 97, "pos_bol": 3868, "pos_cnum": 3885 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 147, "pos_bol": 5787, "pos_cnum": 5790 }, "loc_ghost": false }, "pmty_attributes": [] }, "pmd_attributes": [], "pmd_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 97, "pos_bol": 3868, "pos_cnum": 3868 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 147, "pos_bol": 5787, "pos_cnum": 5790 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 97, "pos_bol": 3868, "pos_cnum": 3868 }, "loc_end": { "pos_fname": "./stdlib/effect.mli", "pos_lnum": 147, "pos_bol": 5787, "pos_cnum": 5790 }, "loc_ghost": false } } ]