MonoidView
public protocol MonoidView : Monoid
Interface defining monoidal views of objects.
Some types can be
-
Identity of
Monoid
.monoid <> identity = monoid
Declaration
Swift
static var identity: Self { get }