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/v0.3.3.tar.gz md5=a3080fb7b473bfebcb8724b53df1c27f sha512=b2ac2c291dd0ade2aad61d78a5dd82a2dc4fd51d5455f4419481c2c26e2acb26753926a2581f55f2bd2b10b25159e7d7b87f5fef67b5315d799d2a86de359f50 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ppx_monoid/ppx_monoid.0.3.3/opam |
No package is dependent