Set

extension Set: Additive
extension Set: MultiplicativeSemigroup

Additive

  • Declaration

    Swift

    public static var zero: Set { get }

    Return Value

    The empty set.

  • Declaration

    Swift

    public static func + (lhs: Set, rhs: Set) -> Set

    Return Value

    The union of the two given sets.

MultiplicativeSemigroup

  • Declaration

    Swift

    public static func * (lhs: Set, rhs: Set) -> Set

    Return Value

    The intersection of the two given sets.