mike dupont
merge
3d7762c
[
{
"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",
" Custom requests.\n\n These allow checked computations to use information that isn't passed as\n arguments -- and hence isn't compiled into the proof. These can be used to\n include 'secret' information in computations which should be hidden from\n verifiers.\n\n To add a new kind of request, extend {!type:t}:\n{[\ntype _ Request.t += Foo : request_type -> result_type Request.t\n]}\n When a checked computation [comp] makes a request\n ({!val:Snark_intf.Basic.request}) using the new [Foo] constructor,\n you can attach a handler to respond to it with\n {!val:Snark_intf.Basic.handle}:\n{[\nlet handled_comp = handle comp (fun (With {request; respond}) ->\n match request with\n | Foo data ->\n let value = (* ... *) in\n respond (Provide value)\n | _ -> unhandled)\n]}\n",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 1,
"pos_bol": 0,
"pos_cnum": 0
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 24,
"pos_bol": 790,
"pos_cnum": 792
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 1,
"pos_bol": 0,
"pos_cnum": 0
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 24,
"pos_bol": 790,
"pos_cnum": 792
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 1,
"pos_bol": 0,
"pos_cnum": 0
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 24,
"pos_bol": 790,
"pos_cnum": 792
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 1,
"pos_bol": 0,
"pos_cnum": 0
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 24,
"pos_bol": 790,
"pos_cnum": 792
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 1,
"pos_bol": 0,
"pos_cnum": 0
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 24,
"pos_bol": 790,
"pos_cnum": 792
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 912
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 913
},
"loc_ghost": false
},
"txt2": "t"
},
"ptype_params": [
[
{
"ptyp_desc": [ "Ptyp_any" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 910
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 911
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
[ [ "NoVariance" ], [ "NoInjectivity" ] ]
]
],
"ptype_cstrs": [],
"ptype_kind": [ "Ptype_open" ],
"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",
" The type of all requests. This is an open type: you can extend it with your\n own requests as needed. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 26,
"pos_bol": 794,
"pos_cnum": 794
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 27,
"pos_bol": 874,
"pos_cnum": 904
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 26,
"pos_bol": 794,
"pos_cnum": 794
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 27,
"pos_bol": 874,
"pos_cnum": 904
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 26,
"pos_bol": 794,
"pos_cnum": 794
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 27,
"pos_bol": 874,
"pos_cnum": 904
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 26,
"pos_bol": 794,
"pos_cnum": 794
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 27,
"pos_bol": 874,
"pos_cnum": 904
},
"loc_ghost": false
}
}
],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 905
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 918
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 905
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 28,
"pos_bol": 905,
"pos_cnum": 918
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_typext",
{
"ptyext_path": "t",
"ptyext_params": [
[
{
"ptyp_desc": [ "Ptyp_any" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 949
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 950
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
[ [ "NoVariance" ], [ "NoInjectivity" ] ]
]
],
"ptyext_constructors": [
{
"pext_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 956
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 960
},
"loc_ghost": false
},
"txt2": "Fail"
},
"pext_kind": [
"Pext_decl",
[],
[ "Pcstr_tuple", [] ],
{
"ptyp_desc": [
"Ptyp_constr",
"t",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 963
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 965
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 963
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 967
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"pext_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 956
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 967
},
"loc_ghost": false
},
"pext_attributes": []
}
],
"ptyext_private": [ "Public" ],
"ptyext_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
},
"ptyext_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 fail request ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 920
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 943
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 920
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 943
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 920
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 943
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 920
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 30,
"pos_bol": 920,
"pos_cnum": 943
},
"loc_ghost": false
}
}
]
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 944
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 31,
"pos_bol": 944,
"pos_cnum": 967
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 977
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 980
},
"loc_ghost": false
},
"txt2": "req"
},
"ptype_params": [
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 974
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 976
},
"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",
"t",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 983
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 985
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 983
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 987
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 969
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 987
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 969
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 33,
"pos_bol": 969,
"pos_cnum": 987
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 37,
"pos_bol": 1095,
"pos_cnum": 1100
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 37,
"pos_bol": 1095,
"pos_cnum": 1108
},
"loc_ghost": false
},
"txt2": "response"
},
"ptype_params": [],
"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",
" The type of responses. Use {!recfield:respond} to create a response from a\n {!type:Response.t}. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 35,
"pos_bol": 989,
"pos_cnum": 989
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 36,
"pos_bol": 1068,
"pos_cnum": 1094
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 35,
"pos_bol": 989,
"pos_cnum": 989
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 36,
"pos_bol": 1068,
"pos_cnum": 1094
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 35,
"pos_bol": 989,
"pos_cnum": 989
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 36,
"pos_bol": 1068,
"pos_cnum": 1094
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 35,
"pos_bol": 989,
"pos_cnum": 989
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 36,
"pos_bol": 1068,
"pos_cnum": 1094
},
"loc_ghost": false
}
}
],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 37,
"pos_bol": 1095,
"pos_cnum": 1095
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 37,
"pos_bol": 1095,
"pos_cnum": 1108
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 37,
"pos_bol": 1095,
"pos_cnum": 1095
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 37,
"pos_bol": 1095,
"pos_cnum": 1108
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1232
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1241
},
"loc_ghost": false
},
"txt2": "unhandled"
},
"pval_type": {
"ptyp_desc": [ "Ptyp_constr", "response", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1244
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1252
},
"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",
" Indicates an unhandled response. Equivalent to calling {!recfield:respond}\n on {!const:Response.Unhandled}. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 39,
"pos_bol": 1110,
"pos_cnum": 1110
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 40,
"pos_bol": 1189,
"pos_cnum": 1227
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 39,
"pos_bol": 1110,
"pos_cnum": 1110
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 40,
"pos_bol": 1189,
"pos_cnum": 1227
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 39,
"pos_bol": 1110,
"pos_cnum": 1110
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 40,
"pos_bol": 1189,
"pos_cnum": 1227
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 39,
"pos_bol": 1110,
"pos_cnum": 1110
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 40,
"pos_bol": 1189,
"pos_cnum": 1227
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1228
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1252
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1228
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 41,
"pos_bol": 1228,
"pos_cnum": 1252
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_module",
{
"pmd_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 43,
"pos_bol": 1254,
"pos_cnum": 1261
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 43,
"pos_bol": 1254,
"pos_cnum": 1269
},
"loc_ghost": false
},
"txt2": "Response"
},
"pmd_type": {
"pmty_desc": [
"Pmty_signature",
[
{
"psig_desc": [
"Psig_type",
[ "Nonrecursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1346
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1347
},
"loc_ghost": false
},
"txt2": "t"
},
"ptype_params": [
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1343
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1345
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
[ [ "NoVariance" ], [ "NoInjectivity" ] ]
]
],
"ptype_cstrs": [],
"ptype_kind": [
"Ptype_variant",
[
{
"pcd_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1350
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1357
},
"loc_ghost": false
},
"txt2": "Provide"
},
"pcd_vars": [],
"pcd_args": [
"Pcstr_tuple",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1361
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1363
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"pcd_res": null,
"pcd_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1350
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1363
},
"loc_ghost": false
},
"pcd_attributes": []
},
{
"pcd_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1366
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1374
},
"loc_ghost": false
},
"txt2": "Delegate"
},
"pcd_vars": [],
"pcd_args": [
"Pcstr_tuple",
[
{
"ptyp_desc": [
"Ptyp_constr",
"t",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1378
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1380
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1378
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1382
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"pcd_res": null,
"pcd_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1364
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1382
},
"loc_ghost": false
},
"pcd_attributes": []
},
{
"pcd_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1385
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1394
},
"loc_ghost": false
},
"txt2": "Unhandled"
},
"pcd_vars": [],
"pcd_args": [ "Pcstr_tuple", [] ],
"pcd_res": null,
"pcd_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1383
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1394
},
"loc_ghost": false
},
"pcd_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",
" The type of responses a handler may return. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1278
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1328
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1278
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1328
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1278
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1328
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1278
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 44,
"pos_bol": 1276,
"pos_cnum": 1328
},
"loc_ghost": false
}
}
],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1331
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1394
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1331
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 45,
"pos_bol": 1329,
"pos_cnum": 1394
},
"loc_ghost": false
}
}
]
],
"pmty_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 43,
"pos_bol": 1254,
"pos_cnum": 1272
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 46,
"pos_bol": 1395,
"pos_cnum": 1398
},
"loc_ghost": false
},
"pmty_attributes": []
},
"pmd_attributes": [],
"pmd_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 43,
"pos_bol": 1254,
"pos_cnum": 1254
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 46,
"pos_bol": 1395,
"pos_cnum": 1398
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 43,
"pos_bol": 1254,
"pos_cnum": 1254
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 46,
"pos_bol": 1395,
"pos_cnum": 1398
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 48,
"pos_bol": 1400,
"pos_cnum": 1405
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 48,
"pos_bol": 1400,
"pos_cnum": 1412
},
"loc_ghost": false
},
"txt2": "request"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [
"Ptype_variant",
[
{
"pcd_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1419
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1423
},
"loc_ghost": false
},
"txt2": "With"
},
"pcd_vars": [],
"pcd_args": [
"Pcstr_record",
[
{
"pld_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1428
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1435
},
"loc_ghost": false
},
"txt2": "request"
},
"pld_mutable": [ "Immutable" ],
"pld_type": {
"ptyp_desc": [
"Ptyp_constr",
"t",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1438
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1440
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1438
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1442
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pld_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1428
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1443
},
"loc_ghost": false
},
"pld_attributes": []
},
{
"pld_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1444
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1451
},
"loc_ghost": false
},
"txt2": "respond"
},
"pld_mutable": [ "Immutable" ],
"pld_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [
"Ptyp_constr",
"Responset",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1454
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1456
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1454
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1467
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "response", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1471
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1479
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1454
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1479
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pld_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1444
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1479
},
"loc_ghost": false
},
"pld_attributes": []
}
]
],
"pcd_res": {
"ptyp_desc": [ "Ptyp_constr", "request", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1485
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1492
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pcd_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1417
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1492
},
"loc_ghost": false
},
"pcd_attributes": []
}
]
],
"ptype_private": [ "Public" ],
"ptype_manifest": null,
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 48,
"pos_bol": 1400,
"pos_cnum": 1400
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1492
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 48,
"pos_bol": 1400,
"pos_cnum": 1400
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 49,
"pos_bol": 1415,
"pos_cnum": 1492
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_module",
{
"pmd_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 52,
"pos_bol": 1537,
"pos_cnum": 1544
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 52,
"pos_bol": 1537,
"pos_cnum": 1551
},
"loc_ghost": false
},
"txt2": "Handler"
},
"pmd_type": {
"pmty_desc": [
"Pmty_signature",
[
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 54,
"pos_bol": 1629,
"pos_cnum": 1636
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 54,
"pos_bol": 1629,
"pos_cnum": 1642
},
"loc_ghost": false
},
"txt2": "single"
},
"ptype_params": [],
"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 single response handler. Create using {!val:create_single}. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1560
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1628
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1560
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1628
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1560
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1628
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1560
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 53,
"pos_bol": 1558,
"pos_cnum": 1628
},
"loc_ghost": false
}
}
],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 54,
"pos_bol": 1629,
"pos_cnum": 1631
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 54,
"pos_bol": 1629,
"pos_cnum": 1642
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 54,
"pos_bol": 1629,
"pos_cnum": 1631
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 54,
"pos_bol": 1629,
"pos_cnum": 1642
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 57,
"pos_bol": 1720,
"pos_cnum": 1727
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 57,
"pos_bol": 1720,
"pos_cnum": 1728
},
"loc_ghost": false
},
"txt2": "t"
},
"ptype_params": [],
"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 stack of handlers which are run on any requests that are raised. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1646
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1719
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1646
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1719
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1646
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1719
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1646
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 56,
"pos_bol": 1644,
"pos_cnum": 1719
},
"loc_ghost": false
}
}
],
"ptype_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 57,
"pos_bol": 1720,
"pos_cnum": 1722
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 57,
"pos_bol": 1720,
"pos_cnum": 1728
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 57,
"pos_bol": 1720,
"pos_cnum": 1722
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 57,
"pos_bol": 1720,
"pos_cnum": 1728
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1736
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1740
},
"loc_ghost": false
},
"txt2": "fail"
},
"pval_type": {
"ptyp_desc": [ "Ptyp_constr", "t", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1743
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1744
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1732
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1744
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1732
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 59,
"pos_bol": 1730,
"pos_cnum": 1744
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1752
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1765
},
"loc_ghost": false
},
"txt2": "create_single"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "request", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1769
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1776
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "response", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1780
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1788
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1769
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1788
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "single", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1793
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1799
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1768
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1799
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1748
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1799
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1748
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 61,
"pos_bol": 1746,
"pos_cnum": 1799
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1838
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1842
},
"loc_ghost": false
},
"txt2": "push"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "t", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1845
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1846
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "single", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1850
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1856
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "t", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1860
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1861
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1850
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1861
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1845
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1861
},
"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",
" Add a single handler. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1803
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1831
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1803
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1831
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1803
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1831
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1803
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 63,
"pos_bol": 1801,
"pos_cnum": 1831
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1834
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1861
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1834
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 64,
"pos_bol": 1832,
"pos_cnum": 1861
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1936
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1939
},
"loc_ghost": false
},
"txt2": "run"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "t", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1942
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1943
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [
"Ptyp_constr",
"req",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1947
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1949
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1947
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1953
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"option",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1959
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1966
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1947
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1966
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1942
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1966
},
"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",
" Run the handler on a request. Throws an error on failure. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1865
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1929
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1865
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1929
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1865
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1929
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1865
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 66,
"pos_bol": 1863,
"pos_cnum": 1929
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1932
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1966
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1932
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 67,
"pos_bol": 1930,
"pos_cnum": 1966
},
"loc_ghost": false
}
}
]
],
"pmty_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 52,
"pos_bol": 1537,
"pos_cnum": 1554
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 68,
"pos_bol": 1967,
"pos_cnum": 1970
},
"loc_ghost": false
},
"pmty_attributes": []
},
"pmd_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",
" Internal, used by {!module:Snark0}. ",
{
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1494
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1536
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1494
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1536
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1494
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1536
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1494
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 51,
"pos_bol": 1494,
"pos_cnum": 1536
},
"loc_ghost": false
}
}
],
"pmd_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 52,
"pos_bol": 1537,
"pos_cnum": 1537
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 68,
"pos_bol": 1967,
"pos_cnum": 1970
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 52,
"pos_bol": 1537,
"pos_cnum": 1537
},
"loc_end": {
"pos_fname": "src/base/request.mli",
"pos_lnum": 68,
"pos_bol": 1967,
"pos_cnum": 1970
},
"loc_ghost": false
}
}
]