package lsp

  1. Overview
  2. Docs

doc/lsp.stdune/Stdune/Monoid/Endofunction/index.html

Module Monoid.EndofunctionSource

Endofunctions, i.e., functions of type t -> t, form two monoids.

Sourcemodule Left (A : sig ... end) : S with type t = A.t -> A.t

The left-to-right function composition monoid, where the argument is first passed to the leftmost function:

Sourcemodule Right (A : sig ... end) : S with type t = A.t -> A.t

The right-to-left function composition monoid, where the argument is first passed to the rightmost function:

OCaml

Innovation. Community. Security.