ppx_monoid

AuthorRobert Atkey <bob.atkey@gmail.com>
LicenseMIT
Homepagehttps://github.com/bobatkey/ppx-monoid
Issue Trackerhttps://github.com/bobatkey/ppx-monoid
MaintainerRobert Atkey <bob.atkey@gmail.com>
Dependencies
&ocamlbuild
ocamlfind
ppx_tools>= 0.99.2
Availableocaml-version >= "4.02.1"
PublishedMar 24, 2016
Source [http] https://github.com/bobatkey/ppx-monoid/archive/0.2.zip
7ea2104cd9ab0be870340a54e367e5e7
StatisticsInstalled 2times in last month.
Edithttps://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