ppx_mixinsversion Documentation on ocaml.org

A PPX for mixing module type signatures into a type declaration

Expands type my_type [@@mixins Mappable (key = string) + Eq] into type t include Mappable with type t := my_type and type key = string; include Eq with type t := my_type`

Tags ppx metaprogramming
AuthorSacha-Élie Ayoun <sachaayoun@gmail.com>
LicenseApache-2.0
Published
Homepagehttps://github.com/soteria-tools/ppx_mixins
Issue Trackerhttps://github.com/soteria-tools/ppx_mixins/issues
MaintainerSacha-Élie Ayoun <sachaayoun@gmail.com>
Dependencies
Source [http] https://github.com/soteria-tools/ppx_mixins/releases/download/v0.1/ppx_mixins-0.1.tbz
sha256=18b2fabd22d32815e03a1031a1be110b44b92a72ebb9fd8432e26c22873635c2
sha512=fd29c612b5c2123d3f78ddecd40c7d2c225a72fbb8970f0e3bd768a8092c025172d97c01a46574bb396a0412a1d5860fabcb462a3d8880579b806f99f031f25e
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_mixins/ppx_mixins.0.1/opam
No package is dependent