Module CPrimitives
- type t- =
- val parse : string -> t
- Can raise - Not_found. Beware that this is not exactly the reverse of- to_stringbelow.
- type arg_kind- =- |- Kparam- |- Kwhnf- |- Karg
- type args_red- = arg_kind list
- val prim_type_of_string : string -> prim_type
- Can raise - Not_found
- val prim_type_to_string : prim_type -> string
- type 'a prim_ind- =- |- PIT_bool : unit prim_ind- |- PIT_carry : prim_type prim_ind- |- PIT_pair : (prim_type * prim_type) prim_ind- |- PIT_cmp : unit prim_ind- |- PIT_f_cmp : unit prim_ind- |- PIT_f_class : unit prim_ind
- type prim_ind_ex- =- |- PIE : 'a prim_ind -> prim_ind_ex
- type op_or_type- =- |- OT_op of t- |- OT_type of prim_type
- val prim_ind_to_string : 'a prim_ind -> string
- val op_or_type_of_string : string -> op_or_type
- Can raise - Not_found
- val op_or_type_to_string : op_or_type -> string
- val parse_op_or_type : ?loc:Loc.t -> string -> op_or_type
- type ind_or_type- =- |- PITT_ind : 'a prim_ind * 'a -> ind_or_type- |- PITT_type : prim_type -> ind_or_type
- val types : t -> ind_or_type list