package ocaml-base-compiler
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Official release 4.12.0
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      4.12.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=adc07a3995362403f3cb11085a86354de08e5a7f9eb3c09be7bbcc38a3a26744
    
    
  doc/ocamlcommon/Ctype/Unification_trace/index.html
Module Ctype.Unification_trace
Unification traces are used to explain unification errors when printing error messages
type 'a escape = - | Constructor of Path.t
- | Univ of Types.type_expr(*- The type_expr argument of *)- Univis always a- Tunivar _, we keep a- type_exprto track renaming in- Printtyp
- | Self
- | Module_type of Path.t
- | Equation of 'a
Scope escape related errors
Errors for polymorphic variants
type variant = - | No_intersection
- | Incompatible_types_for of string
- | Fixed_row of position * fixed_row_case * Types.fixed_explanation(*- Fixed row types, e.g. *)- 'a. [> `X] as 'a
type 'a elt = - | Diff of 'a diff
- | Variant of variant
- | Obj of obj
- | Escape of {- context : Types.type_expr option;
- kind : 'a escape;
 - }
- | Incompatible_fields of {- name : string;
- diff : Types.type_expr diff;
 - }
- | Rec_occur of Types.type_expr * Types.type_expr
val diff : Types.type_expr -> Types.type_expr -> desc eltmap_diff f {expected;got} is {expected=f expected; got=f got}
val flatten : (Types.type_expr -> Types.type_expr -> 'a) -> t -> 'a elt listflatten f trace flattens all elements of type desc in trace to either f x.t expanded if x.expanded=Some expanded or f x.t x.t otherwise
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >