package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
v0.4.0.zip
sha256=4b4d220fc64f2d508a77d229c61ec199308f4f6182c19543c96842749bb9ac3c
sha512=f295b48b23016743111867b746c97cfedccd6f32497a0a5df454fcd7f66338404604fbdfaad44210f34b56a4aca0a3f96de5cc6427191468a567128850d380c4
doc/eval/Eval/index.html
Module Eval
Eval plugin: functors + inherited value to make decisions about how to map values.
Essentially, is a Gmap
trait with polymorphic inherited attributes.
Is a simplified version of Stateful
trait: doesn't allow to pass modified environment through transformation.
Inherited attributes' type (both default and for type parameters) is 'env
.
Synthetized attributes' type (both default and for type parameters) is _ t
.
For type declaration type ('a,'b,...) typ = ...
it will create transformation function with type
('env -> 'a -> 'a2) -> ('env -> 'b -> 'b2) -> ... -> 'env -> ('a,'b,...) typ -> ('a2, 'b2, ...) typ
module Make (AstHelpers : GTCommon.GTHELPERS_sig.S) : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>