Diet

cats.collections.Diet
See theDiet companion class
object Diet

Attributes

Companion
class
Source
Diet.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Diet.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def empty[A]: Diet[A]

Attributes

Source
Diet.scala
def fromRange[A](range: Range[A]): Diet[A]

Create a Diet that consists of a single range of A elements.

Create a Diet that consists of a single range of A elements.

Attributes

Source
Diet.scala
def one[A](a: A): Diet[A]

Create a Diet that contains only a single A element.

Create a Diet that contains only a single A element.

Attributes

Source
Diet.scala

Implicits

Implicits

implicit def dietCommutativeMonoid[A](implicit discrete: Discrete[A], order: Order[A]): CommutativeMonoid[Diet[A]]

Attributes

Source
Diet.scala
implicit def dietLattice[A](implicit discrete: Discrete[A], order: Order[A]): GenBool[Diet[A]]

Attributes

Source
Diet.scala
implicit def dietSemiring[A](implicit discrete: Discrete[A], order: Order[A]): Semiring[Diet[A]]

Attributes

Source
Diet.scala
implicit def dietShowable[A](implicit s: Show[Range[A]]): Show[Diet[A]]

Attributes

Source
Diet.scala
implicit def eqDiet[A : Eq]: Eq[Diet[A]]

Attributes

Source
Diet.scala