package preface

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

the type held by the Semigroup.

val times : int -> t -> t option

times n x apply combine on x n times. If n is lower than 1 the function will returns None.

val reduce_nel : t Preface_core.Nonempty_list.t -> t

Reduce a Nonempty_list.t using combine.

val reduce : t list -> t

Reduce a List.t using combine.

OCaml

Innovation. Community. Security.