= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package doc-ock
-
doc-ock
-
doc-ock.ocamlary
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type kind = Kind.fragment
type ('a, 'b, 'c) raw =
| Root : ('a, 'b, [< sort Root ]) raw
| Subst : 'a Path.Resolved.module_type * 'a module_ -> ('a, [< kind Module ] as 'b, [< sort Branch ] as 'c) raw
| SubstAlias : 'a Path.Resolved.module_ * 'a module_ -> ('a, [< kind Module ] as 'b, [< sort Branch ] as 'c) raw
| Module : 'a signature * string -> ('a, [< kind Module ], [< sort Branch ]) raw
| Type : 'a signature * string -> ('a, [< kind Type ], [< sort Branch ]) raw
| Class : 'a signature * string -> ('a, [< kind Class ], [< sort Branch ]) raw
| ClassType : 'a signature * string -> ('a, [< kind ClassType ], [< sort Branch ]) raw
and ('a, 'b) t = ('a, 'b, [ `Branch ]) raw
and 'a signature = ('a, Kind.fragment_module, [ `Root | `Branch ]) raw
and 'a module_ = ('a, Kind.fragment_module) t
type 'a type_ = ('a, Kind.fragment_type) t
Explicit coercions
Attaching fragments to valid paths
val path : 'a Path.module_ -> ('a, 'b) t -> ('a, 'b) Path.t
val identifier : 'a Identifier.signature -> ('a, 'b) t -> ('a, 'b) Identifier.t
Generic operations
val hash : hash:('a -> int) -> ('a, 'b) t -> int