package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.0.tar.gz
sha256=3f26c69a215066b42c6edde2ea4cd4516bdc9a01482b64355d3adf87ed85e179
sha512=7a5236618124f370aa373483255bd3efeb5c251005efa7d43aadb6be968df310b5f312b8066245544cfdf9972a7944f0ff2448bd09cb8a8e0bb5f8b1f9b5340b
doc/stateful/Stateful/index.html
Module Stateful
Source
Stateful plugin: functors + inherited value to make decisions about how to map values.
Behave the same as Eval
trait but can may return modified state.
Inherited attributes' type (both default and for type parameters) is 'env
.
Synthetized attributes' type (both default and for type parameters) is 'env * _ t
.
For type declaration type ('a,'b,...) typ = ...
it will create transformation function with type
('env -> 'a -> 'env * 'a2) -> ('env -> 'b -> 'env * 'b2) -> ... -> 'env -> ('a,'b,...) typ -> 'env * ('a2, 'b2, ...) typ
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>