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.1.zip sha256=67758eef6b5bfba9cf6abadcd4ad192f4ff4c3c09007bff0c939be9daf6dfb89 md5=010f9d8ea76a5272b7fd34800e6cd1c3 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ppx_monoid/ppx_monoid.0.1/opam |
No package is dependent