package ppx_deriving_madcast
Library deriving cast functions based on their types
Install
Dune Dependency
Authors
Maintainers
Sources
v0.2.tar.gz
md5=bca83dbf5a6fb47ced07756c6cab1d9a
sha512=f2f604685649d8fc0c750adfb89d997ea62f2fd09f383dc38b4580fdbb7f96e45a637745f1f06aa1b529d6abcfea6691ef309eb32e423c780c2370aff4678950
doc/src/ppx_deriving_madcast.api/rule.ml.html
Source file rule.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14
open Ppxlib open Parsetree type t = { name : string ; matcher : (core_type * core_type) -> (core_type * core_type) list option ; builder : expression list -> expression } let make ~name ~matcher ~builder () = { name ; matcher ; builder } let name_ rule = rule.name let match_ rule = rule.matcher let build_ rule = rule.builder
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>