package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.2.tar.gz
md5=9d18b96ada4d18fdda0b5f5698273145
sha512=945070bea4322bf8f7932a259af91432a3c109a05294ba2a27c1c2e9d2796ffb4cc32f6b8e28ff465311277696296ddda531a2ce818e590c09c64c5721d65e19
doc/eval/Eval/index.html
Module Eval
Source
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>