Int16

@frozen
struct Int16 : FixedWidthInteger, SignedInteger

Instance of Semigroup for Int16. Uses sum as combination of elements.

  • Declaration

    Swift

    public func combine(_ other: Int16) -> Int16
  • Declaration

    Swift

    public static func empty() -> Int16
  • Declaration

    Swift

    public func multiply(_ other: Int16) -> Int16
  • Declaration

    Swift

    public static func one() -> Int16