package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.0.tar.gz
sha256=3f26c69a215066b42c6edde2ea4cd4516bdc9a01482b64355d3adf87ed85e179
sha512=7a5236618124f370aa373483255bd3efeb5c251005efa7d43aadb6be968df310b5f312b8066245544cfdf9972a7944f0ff2448bd09cb8a8e0bb5f8b1f9b5340b
doc/GT.common/GTCommon/HelpersBase/index.html
Module GTCommon.HelpersBase
Source
Source
val compare_core_type :
Astlib__.Ast_412.Parsetree.core_type ->
Astlib__.Ast_412.Parsetree.core_type ->
int
Source
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
Source
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
Source
val maybe_specialiaze :
what:Ppxlib.type_declaration ->
Ppxlib.core_type List.t ->
(string * Ppxlib.core_type) List.t option
Source
val specialize_for_tdecl :
what:Ppxlib.type_declaration ->
where:Ppxlib.type_declaration ->
(string * Ppxlib.core_type) List.t
Source
val with_constr_typ :
Ppxlib.core_type ->
ok:(Ppxlib.longident_loc -> Ppxlib.core_type list -> 'a) ->
fail:(unit -> 'a) ->
'a
Source
val constr_of_tuple :
?loc:Ppxlib.Location.t ->
Astlib.Ast_412.Parsetree.core_type List.t ->
Astlib.Ast_412.Parsetree.core_type
Source
val using_type :
typename:string ->
Ppxlib.type_declaration ->
Astlib.Ast_412.Parsetree.core_type
Source
val prepare_patt_match_poly :
loc:Astlib.Location.t ->
Astlib.Ast_412.Parsetree.expression ->
Ppxlib.row_field_desc List.t ->
string List.t option ->
onrow:
(Ppxlib.label Ppxlib.loc ->
(string * Ppxlib.core_type) List.t ->
Astlib.Ast_412.Parsetree.expression) ->
onlabel:(string -> string -> Astlib.Ast_412.Parsetree.expression) ->
oninherit:
(Ppxlib.core_type list ->
Ppxlib.longident ->
string ->
Astlib.Ast_412.Parsetree.expression) ->
Astlib.Ast_412.Parsetree.expression
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>