Semigroup.OPERATION
Additional operations.
type t
the type held by the Semigroup.
Semigroup
val times_nel : int -> t -> t option
times_nel n x apply combine on x n times. If n is lower than 1 the function will returns None.
times_nel n x
combine
x
n
1
None
val reduce_nel : t Preface_core.Nonempty_list.t -> t
Reduce a Nonempty_list.t using combine.
Nonempty_list.t