Module Typerep_lib.Type_generic
module Variant_and_record_intf : module type of Variant_and_record_intfmodule Helper : functor (A : Variant_and_record_intf.S) -> functor (B : Variant_and_record_intf.S) -> sig ... endmodule type Named = sig ... endmodule type Computation = sig ... endmodule Make_named_for_closure : functor (X : sig ... end) -> Named with type 'a computation := 'a X.tNot all computations are arrow types. For example:
module Ident : sig ... endmodule type S = sig ... endmodule Make : functor (X : sig ... end) -> S with type 'a t = 'a X.tThe
nameis used for debug information only in case of Broken_dependency. Therequiredis to handle dependencies between generics at runtime. Example: ifXis the module given to build a generic computationGthat depends on three other computationA,B,Cthen X.required shall beA.ident ; B.ident ; C.ident