package ocaml-base-compiler
Official release 4.14.2
Install
Dune Dependency
Authors
Maintainers
Sources
4.14.2.tar.gz
sha256=c2d706432f93ba85bd3383fa451d74543c32a4e84a1afaf3e8ace18f7f097b43
doc/ocamlcommon/Typedecl_variance/index.html
Module Typedecl_variance
val variance_of_params :
(Parsetree.core_type * (Asttypes.variance * Asttypes.injectivity)) list ->
surface_variance list
val variance_of_sdecl : Parsetree.type_declaration -> surface_variance list
type prop = Types.Variance.t list
type req = surface_variance list
val property : (Types.Variance.t list, req) Typedecl_properties.property
type error =
| Bad_variance of variance_error * surface_variance * surface_variance
| Varying_anonymous
exception Error of Location.t * error
val check_variance_extension :
Env.t ->
Types.type_declaration ->
Typedtree.extension_constructor ->
(req * Location.t) ->
unit
val compute_decl : Env.t -> check:bool -> Types.type_declaration -> req -> prop
val update_decls :
Env.t ->
Parsetree.type_declaration list ->
(Ident.t * Types.type_declaration) list ->
(Ident.t * Types.type_declaration) list
val update_class_decls :
Env.t ->
(Ident.t
* Typedecl_properties.decl
* Types.type_declaration
* Types.class_declaration
* Types.class_type_declaration
* 'a Typedtree.class_infos)
list ->
(Typedecl_properties.decl
* Types.type_declaration
* Types.class_declaration
* Types.class_type_declaration)
list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>