package alg_structs
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A semigroup is a set of objects with an associative binary operation over it
include Seed
The principle (and sole) type.
We can think of this set-theoretically as the carrier set of the algebraic structure or category-theoretically as the single object in the category, with each element being a morphism t -> t
.
val concat : t NonEmptyList.t -> t
concat xs
is the concatenation of all elements of xs
into a single value using op
.
This is equivalent to List.fold_right op (NonEmptyList.tl xs)
(NonEmptyList.hd xs)
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>