package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
GT-v0.5.3.tbz
sha256=55f8249e780b9a1891d9d4bb5bf2f4f7fdc619a06d9f6f04961afe193cbaaac4
sha512=3a9422aafb7a4d22c484d03950603e7f05c10512ddeb7675fe5dce73f0ef8f3537eabad1d5ebfb99c6b2e952a6203c793a1cd9d62d2863cef31616a4256b99d2
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)"
>