package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-5.3-502.tbz
sha256=2cea46f12397fa6e31ef0c0d4f5e11c1cfd916ee49420694005c95ebb3aa24bc
sha512=e94abb9ae38149245337db033e2c3891c7ec772168e99abf1bda0216a894c0854e7170b56fe88eba83ec98f2ebc0f5c7c723e8db14f59eeb6dd348bec12c6d62
doc/merlin-lib.ocaml_typing/Ocaml_typing/Includemod/index.html
Module Ocaml_typing.Includemod
Source
Type describing which arguments of an inclusion to consider as used for the usage warnings. Mark_both
is the default.
Map indexed by both field types and names. This avoids name clashes between different sorts of fields such as values and types.
Source
val modtypes :
loc:Ocaml_parsing.Location.t ->
Env.t ->
mark:mark ->
Types.module_type ->
Types.module_type ->
Typedtree.module_coercion
Source
val modtypes_with_shape :
shape:Shape.t ->
loc:Ocaml_parsing.Location.t ->
Env.t ->
mark:mark ->
Types.module_type ->
Types.module_type ->
Typedtree.module_coercion * Shape.t
Source
val strengthened_module_decl :
loc:Ocaml_parsing.Location.t ->
aliasable:bool ->
Env.t ->
mark:mark ->
Types.module_declaration ->
Path.t ->
Types.module_declaration ->
Typedtree.module_coercion
Source
val check_modtype_inclusion :
loc:Ocaml_parsing.Location.t ->
Env.t ->
Types.module_type ->
Path.t ->
Types.module_type ->
explanation option
check_modtype_inclusion ~loc env mty1 path1 mty2
checks that the functor application F(M) is well typed, where mty2 is the type of the argument of F and path1/mty1 is the path/unstrenghened type of M.
Source
val check_modtype_equiv :
loc:Ocaml_parsing.Location.t ->
Env.t ->
Ident.t ->
Types.module_type ->
Types.module_type ->
unit
Source
val signatures :
Env.t ->
mark:mark ->
Types.signature ->
Types.signature ->
Typedtree.module_coercion
Source
val compunit :
Env.t ->
mark:mark ->
string ->
Types.signature ->
string ->
Types.signature ->
Shape.t ->
Typedtree.module_coercion * Shape.t
Source
val type_declarations :
loc:Ocaml_parsing.Location.t ->
Env.t ->
mark:mark ->
Ident.t ->
Types.type_declaration ->
Types.type_declaration ->
unit
Source
type symptom =
| Missing_field of Ident.t * Ocaml_parsing.Location.t * string
| Value_descriptions of Ident.t * Types.value_description * Types.value_description * Includecore.value_mismatch
| Type_declarations of Ident.t * Types.type_declaration * Types.type_declaration * Includecore.type_mismatch
| Extension_constructors of Ident.t * Types.extension_constructor * Types.extension_constructor * Includecore.extension_constructor_mismatch
| Module_types of Types.module_type * Types.module_type
| Modtype_infos of Ident.t * Types.modtype_declaration * Types.modtype_declaration
| Modtype_permutation of Types.module_type * Typedtree.module_coercion
| Interface_mismatch of string * string
| Class_type_declarations of Ident.t * Types.class_type_declaration * Types.class_type_declaration * Ctype.class_match_failure list
| Class_declarations of Ident.t * Types.class_declaration * Types.class_declaration * Ctype.class_match_failure list
| Unbound_module_path of Path.t
| Invalid_module_alias of Path.t
Source
type pos =
| Module of Ident.t
| Modtype of Ident.t
| Arg of Types.functor_parameter
| Body of Types.functor_parameter
Source
type application_name =
| Anonymous_functor
(*
*)(functor (_:sig end) -> struct end)(Int)
| Full_application_path of Ocaml_parsing.Longident.t
(*
*)F(G(X).P)(Y)
| Named_leftmost_functor of Ocaml_parsing.Longident.t
(*
*)F(struct end)...(...)
Source
exception Apply_error of {
loc : Ocaml_parsing.Location.t;
env : Env.t;
app_name : application_name;
mty_f : Types.module_type;
args : (Error.functor_arg_descr * Types.module_type) list;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>