ppx_monoid

Syntax extension for building values of monoids
Description

This is a syntax extension for OCaml to make building values of monoids easier. Assumes the existence of two operations in scope for some type t:

empty : t
(^^)  : t -> t -> t

ppx-monoid, triggered by the PPX extension point monoid, reinterprets the semicolon ; to mean the monoid operation ^^ and the unit expression () to mean empty.

Install
Published
17 Jan 2020
Authors
Maintainers
Sources
0.3.2.tar.gz
md5=de413a86ef336834a30e9f53c6794d81 sha512=3b594411e424c2db7d3c3edf62fb1ac04f0a24b3aaf20f9df47eaa43fc696b72ec0b66ee94f824a1c5148bf93fe133c605430fe5e7ddf2df5e694ca4ec7724a8
Dependencies
ounit with-test
ocaml-migrate-parsetree >= "1.5.0" & < "2.0.0"
ocaml >= "4.04.0"
dune >= "2.0"
Reverse Dependencies