package monads

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

A monoid on strings.

include Base with type t = string
type t = string
val zero : t

zero an element that is neutral to plus

val plus : t -> t -> t

plus x y an associative operation.

val concat : t list -> t

concat xs reduces xs to using plus

val (@@) : t -> t -> t

x @@ y is plus x y