# Matching variant types with ppxlib

**URL:** <https://discuss.ocaml.org/t/matching-variant-types-with-ppxlib/18708>\
**Category:** Learning\
**Tags:** ppx\
**Created:** [November 5, 2026, 10:14pm UTC](https://discuss.ocaml.org/t/matching-variant-types-with-ppxlib/18708 "2026-11-05T22:14:17Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![smuenzel](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/smuenzel/32/3945_2.png) [@smuenzel](https://discuss.ocaml.org/u/smuenzel)\
**Post date:** [November 10, 2026, 5:08pm UTC](https://discuss.ocaml.org/t/matching-variant-types-with-ppxlib/18708/7 "2026-11-10T17:08:20Z")

</div>

Does this strategy help: [Ppx\_variants\_conv on mutually dependent types - #2 by smuenzel](https://discuss.ocaml.org/t/ppx-variants-conv-on-mutually-dependent-types/17176/2) ?

---

_[View the full topic](https://discuss.ocaml.org/t/matching-variant-types-with-ppxlib/18708)._
