Module Ocaml_typing.PredefSource
Source
val set_ikind_of_jkind :
(params:Types.type_expr list -> Types.jkind_l -> Types.type_ikind) ->
unitSource
val build_initial_env :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
(Ident.t -> Types.extension_constructor -> 'a -> 'a) ->
(Ident.t -> Types.jkind_declaration -> 'a -> 'a) ->
'a ->
'aSource
val add_simd_stable_extension_types :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
'a ->
'aSource
val add_simd_beta_extension_types :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
'a ->
'aSource
val add_simd_alpha_extension_types :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
'a ->
'aSource
val add_small_number_extension_types :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
'a ->
'aSource
val add_small_number_beta_extension_types :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
'a ->
'aSource
val add_runtime_metaprogramming_types :
(Ident.t -> Types.type_declaration -> 'a -> 'a) ->
'a ->
'aAll predefined exceptions, exposed as Ident.t for flambda (for building value approximations). The Ident.t for division by zero is also exported explicitly so flambda can generate code to raise it.