package GT
Generic programming with extensible transformations
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.5.1.tar.gz
sha256=fe0aa1e40afd36f7c1fcd992c408261d0b5645cea080ea98bc5dbf0b8682187f
sha512=8db0f2d8db4d7c11cf55835ba2b6c4f5ee1e8c09a4bdc2a9c57d50958ff8654688d4c8596079dfd1027d8b9e878f6e1b0d14341bcdf5f63cf96a45b2a571f3cb
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 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_500.Parsetree.core_type List.t ->
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:Ppxlib.Location.t ->
Astlib.Ast_500.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_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)"
>