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.2.0/ppx_mixins-0.2.0.tbz
sha256=ed411d59c016e8429dfd375eb80629412092f43cb05ed3469ff79a9a89001988
sha512=d5b853c7372c5979e029293549247ec441e1bd4f59b339f4bf173a24f673d2584f88ad63d69eca638fd4581183a0d8af58707b748ea54df9bcdc2270b20fae7a
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_mixins/ppx_mixins.0.2.0/opam
No package is dependent