ppx_monoidversion
Syntax extension for building values of monoids
This is a syntax extension for OCaml to make building values of
monoids easier. Assumes the existence of two operations in scope for
some type t
:
empty : t
(^^) : t -> t -> t
ppx-monoid
, triggered by the PPX extension point monoid
,
reinterprets the semicolon ;
to mean the monoid operation ^^
and
the unit expression ()
to mean empty
.
Author | Robert Atkey |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/bobatkey/ppx-monoid |
Issue Tracker | https://github.com/bobatkey/ppx-monoid/issues |
Maintainer | bob.atkey@gmail.com |
Dependencies |
|
Source [http] | https://github.com/bobatkey/ppx-monoid/archive/0.3.2.tar.gz md5=de413a86ef336834a30e9f53c6794d81 sha512=3b594411e424c2db7d3c3edf62fb1ac04f0a24b3aaf20f9df47eaa43fc696b72ec0b66ee94f824a1c5148bf93fe133c605430fe5e7ddf2df5e694ca4ec7724a8 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ppx_monoid/ppx_monoid.0.3.2/opam |
No package is dependent