package GT

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val id : 'a -> 'b
val not_implemented : ('a, unit, string, 'b) format4 -> 'c
module List : sig ... end
val visit_typedecl : loc:'a -> ?onrecord:(Ppxlib.label_declaration list -> 'b) -> ?onmanifest:(Ppxlib.core_type -> 'c) -> ?onvariant:(Ppxlib.constructor_declaration list -> 'd) -> ?onabstract:(unit -> 'e) -> ?onopen:(unit -> 'f) -> Ppxlib.type_declaration -> 'g
val affect_longident : f:(string -> string) -> Ppxlib.longident -> Ppxlib.longident
val map_longident : f:(string -> string) -> Ppxlib.longident -> Ppxlib.longident
val lident_tail : Ppxlib.longident -> Ppxlib.longident
module SS : sig ... end
val vars_from_core_type : Ppxlib.core_type -> SS.t
val vars_from_tdecl : Ppxlib.type_declaration -> SS.t
val map_core_type : ?onconstr: (Ppxlib.longident -> Ppxlib.core_type list -> Ppxlib.core_type option) -> onvar:(string -> Ppxlib.core_type Base.Option.t) -> Ppxlib.core_type -> Ppxlib.core_type
val list_first_some : f:('a -> 'b option) -> 'a List.t -> 'b option
val is_type_used_in : tdecl:Ppxlib.type_declaration -> Ppxlib.longident -> bool
val maybe_specialiaze : what:Ppxlib.type_declaration -> Ppxlib.core_type List.t -> (string * Ppxlib.core_type) List.t option
val specialize_for_tdecl : what:Ppxlib.type_declaration -> where:Ppxlib.type_declaration -> (string * Ppxlib.core_type) List.t
val with_constr_typ : Ppxlib.core_type -> ok:(Ppxlib.longident_loc -> Ppxlib.core_type list -> 'a) -> fail:(unit -> 'b) -> 'c
val using_type : typename:string -> Ppxlib.type_declaration -> Astlib.Ast_500.Parsetree.core_type
val is_polyvariant : Ppxlib.core_type -> bool
val is_tuple : Ppxlib.core_type -> bool
val is_polyvariant_tdecl : Ppxlib.type_declaration -> bool
val is_tuple_tdecl : Ppxlib.type_declaration -> bool
val is_algebraic_tdecl : Ppxlib.type_declaration -> bool
val has_many_constructors_tdecl : Ppxlib.type_declaration -> bool
val unfold_tuple : Ppxlib.core_type -> Ppxlib.core_type list
val map_type_param_names : f:(string -> 'a) -> (Ppxlib.core_type * 'b) List.t -> 'c List.t
val notify : ('a, Format.formatter, unit, unit) format4 -> 'b
val string_after_a : int -> string
val hash_variant : string -> int
val failwiths : ('a, Format.formatter, unit, 'b) format4 -> 'c