Package

macrame.scalaz

enums

Permalink

package enums

Visibility
  1. Public
  2. All

Type Members

  1. trait All[Enum] extends IsMonoid[Enum] with IsEnum[Enum] with IsShow[Enum]

    Permalink
  2. trait IsEnum[E] extends AnyRef

    Permalink
  3. trait IsEqual[Enum] extends AnyRef

    Permalink
  4. trait IsMonoid[Enum] extends AnyRef

    Permalink
  5. trait IsOrder[Enum] extends AnyRef

    Permalink
  6. trait IsSemigroup[Enum] extends AnyRef

    Permalink

    This trait provides an instance of Semigroup for an enumeration.

    This trait provides an instance of Semigroup for an enumeration. It works by extending the companion object of the enumeration class.

    @enum class Mod3 {
      Zero
      One
      Two
    }
    object Mod3 extends IsSemigroup[Mod3]
  7. trait IsShow[Enum] extends AnyRef

    Permalink

    This trait provides an instance of Show for an enumeration.

    This trait provides an instance of Show for an enumeration. It works by extending the companion object of the enumeration class.

    @enum class Color {
      Red
      Blue
      Yellow
    }
    object Color extends IsShow[Color]

Ungrouped