package traverse

  1. Overview
  2. Docs

Module Modules.MonoidSource

Monoid.S is a signature for a monoid (a type `t` with `zero` and `+`), and 'a Monoid.t is the type for monoids represented as first-class modules.

Sourcemodule type S = sig ... end
Sourcemodule Addition : S
Sourcetype 'a t = (module S with type t = 'a)