ppx_monoid

Author Robert Atkey <bob.atkey@gmail.com>
License MIT
Homepage https://github.com/bobatkey/ppx-monoid
Issue Tracker https://github.com/bobatkey/ppx-monoid
Maintainer Robert Atkey <bob.atkey@gmail.com>
Dependencies
& ocamlbuild
ocamlfind
ppx_tools >= 0.99.2
Available ocaml-version >= "4.02.1"
Published Mar 24, 2016
Source [http] http://github.com/bobatkey/ppx-monoid/archive/0.2.zip
7ea2104cd9ab0be870340a54e367e5e7
Statistics Installed 4 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/ppx_monoid/ppx_monoid.0.2/opam

A syntax extension for easier building of values of monoids.

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.

No package is dependent