ppx_monoidversion
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
.
Author | Robert Atkey <bob.atkey@gmail.com> |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/bobatkey/ppx-monoid |
Issue Tracker | https://github.com/bobatkey/ppx-monoid |
Maintainer | Robert Atkey <bob.atkey@gmail.com> |
Dependencies |
|
Source [http] | https://github.com/bobatkey/ppx-monoid/archive/0.2.zip sha256=143c8d2c973337c87491feb7882d805d3fd4a79bc0296501a029bd35d745b077 md5=7ea2104cd9ab0be870340a54e367e5e7 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ppx_monoid/ppx_monoid.0.2/opam |
No package is dependent