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