package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.2.tar.gz
md5=9d18b96ada4d18fdda0b5f5698273145
sha512=945070bea4322bf8f7932a259af91432a3c109a05294ba2a27c1c2e9d2796ffb4cc32f6b8e28ff465311277696296ddda531a2ce818e590c09c64c5721d65e19
doc/GT.common/GTCommon/HelpersBase/index.html
Module GTCommon.HelpersBase
Source
Source
val compare_core_type :
Astlib__.Ast_414.Parsetree.core_type ->
Astlib__.Ast_414.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 option) ->
Ppxlib.core_type ->
Ppxlib.core_type
Source
val maybe_specialiaze :
what:Ppxlib.type_declaration ->
Ppxlib.core_type list ->
(string * Ppxlib.core_type) list option
Source
val specialize_for_tdecl :
what:Ppxlib.type_declaration ->
where:Ppxlib.type_declaration ->
(string * Ppxlib.core_type) list
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_500.Parsetree.core_type list ->
Astlib.Ast_500.Parsetree.core_type
Source
val using_type :
typename:string ->
Ppxlib.type_declaration ->
Astlib.Ast_500.Parsetree.core_type
Source
val prepare_patt_match_poly :
loc:Astlib.Location.t ->
Astlib.Ast_500.Parsetree.expression ->
Ppxlib.row_field_desc list ->
string list option ->
onrow:
(Ppxlib.label Ppxlib.loc ->
(string * Ppxlib.core_type) list ->
Astlib.Ast_500.Parsetree.expression) ->
onlabel:(string -> string -> Astlib.Ast_500.Parsetree.expression) ->
oninherit:
(Ppxlib.core_type list ->
Ppxlib.longident ->
string ->
Astlib.Ast_500.Parsetree.expression) ->
Astlib.Ast_500.Parsetree.expression
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>