package monads

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

Make(T) constructs a monoid that accumulates elements of type T.t

Parameters

Signature

include Base with type t := TList(T).t
val zero : TList(T).t

zero an element that is neutral to plus

plus x y an associative operation.

val concat : TList(T).t list -> TList(T).t

concat xs reduces xs to using plus

x @@ y is plus x y

OCaml

Innovation. Community. Security.