package monads

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

The minimal monoid interface

type t
val zero : t

zero an element that is neutral to plus

val plus : t -> t -> t

plus x y an associative operation.