ppx_monoid

A syntax extension for easier building of values of monoids.
Description

Assumes the existence of two operations in scope for some type t:

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

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

Install
Published
24 Mar 2016
Sources
0.2.zip
md5=7ea2104cd9ab0be870340a54e367e5e7
Dependencies
ppx_tools
>= "0.99.2"
ocaml
>= "4.02.1" & < "4.08.0"
Reverse Dependencies