package lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Monoid.Product3Source

Same as Product but for 3 monoids.

Parameters

module A : sig ... end
module B : sig ... end
module C : sig ... end

Signature

Sourcetype t = A.t * B.t * C.t
Sourceval empty : t

Must be the identity of combine:

  • combine empty t = t
  • combine t empty = t
Sourceval combine : t -> t -> t

Must be associative:

  • combine a (combine b c) = combine (combine a b) c
Sourcemodule O : sig ... end
Sourceval reduce : t list -> t
Sourceval map_reduce : f:('a -> t) -> 'a list -> t
OCaml

Innovation. Community. Security.