package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
v0.3.0.zip
sha256=58aa091948383ffa6c452b89880becae980ae32cc3a4969fe1c636e46810db69
sha512=ee878ba4c2ee16f5b77f4b4e98664d53e91b7a710b9162905b9a43118a03e9c0d7b378a13e104e16a84556bca1176026d93f11934d69eecb459b771e9340ffd7
doc/GT.common/GTCommon/HelpersBase/index.html
Module GTCommon.HelpersBase
val raise_errorf : ?loc:'a -> ('b, unit, string, 'c) format4 -> 'b
val not_implemented : ?loc:'a -> ('b, unit, string, 'c) format4 -> 'b
module List : sig ... end
module Format : sig ... end
val visit_typedecl :
loc:'a ->
?onrecord:(Ppxlib.label_declaration list -> 'b) ->
?onmanifest:(Ppxlib.core_type -> 'b) ->
?onvariant:(Ppxlib.constructor_declaration list -> 'b) ->
?onabstract:(unit -> 'b) ->
?onopen:(unit -> 'b) ->
Ppxlib.type_declaration ->
'b
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
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 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 -> 'a) ->
'a
val constr_of_tuple :
?loc:Ppxlib.Location.t ->
Migrate_parsetree__.Ast_408.Parsetree.core_type List.t ->
Migrate_parsetree__.Ast_408.Parsetree.core_type
val using_type :
typename:Base.String.t ->
Ppxlib.type_declaration ->
Migrate_parsetree__.Ast_408.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 prepare_patt_match_poly :
loc:Ppxlib_ast__.Import.Location.t ->
Migrate_parsetree__.Ast_408.Parsetree.expression ->
Ppxlib.row_field_desc List.t ->
string List.t option ->
onrow:
(Ppxlib.label Ppxlib.loc ->
(Base.String.t * Ppxlib.core_type) List.t ->
Migrate_parsetree__.Ast_408.Parsetree.expression) ->
onlabel:
(string -> string -> Migrate_parsetree__.Ast_408.Parsetree.expression) ->
oninherit:
(Ppxlib.core_type list ->
Ppxlib.longident ->
string ->
Migrate_parsetree__.Ast_408.Parsetree.expression) ->
Migrate_parsetree__.Ast_408.Parsetree.expression
val map_type_param_names :
f:(string -> 'a) ->
(Ppxlib.core_type * 'b) List.t ->
'a List.t
val notify : ('a, unit, string, unit) format4 -> 'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>