package ppx_monoid
Syntax extension for building values of monoids
Install
Authors
Maintainers
Sources
v0.3.3.tar.gz
md5=a3080fb7b473bfebcb8724b53df1c27f
sha512=b2ac2c291dd0ade2aad61d78a5dd82a2dc4fd51d5455f4419481c2c26e2acb26753926a2581f55f2bd2b10b25159e7d7b87f5fef67b5315d799d2a86de359f50
Description
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
.
Published: 29 Jul 2022
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page