MonoidView

public protocol MonoidView : Monoid

Interface defining monoidal views of objects.

Some types can be

Associated Types

  • Type of the value wrapped by Monoid.

    Declaration

    Swift

    associatedtype Value

Type Properties

  • Identity of Monoid.

    monoid <> identity = monoid
    

    Declaration

    Swift

    static var identity: Self { get }

Instance Properties

Initializers