Discrete

cats.collections.Discrete$
See theDiscrete companion trait
object Discrete

Attributes

Companion:
trait
Source:
Discrete.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

final def apply[A](implicit instance: Discrete[A]): Discrete[A]

Summons an implicit instance of Discrete[A] from the implicit scope.

Summons an implicit instance of Discrete[A] from the implicit scope.

Attributes

Source:
Discrete.scala
final def inverse[A](discrete: Discrete[A]): Discrete[A]

Returns the inverse of the provided discrete (succ and pred are flipped).

Returns the inverse of the provided discrete (succ and pred are flipped).

Attributes

Source:
Discrete.scala

Implicits

Implicits

implicit def integralDiscrete[I](implicit I: Integral[I]): Discrete[I]

Attributes

Source:
Discrete.scala