Discrete

final case class Discrete[A](value: A)

Marker wrapper meaning that any two distinct values of type Discrete[A] should be treated as incomparable. As a consequence, a value of type Discrete[A] cannot be refined to obtain a different value. Therefore, refinement is disallowed altogether by setting the Update type to an uninhabited type.

See also:

Revocable which in addition has a top element.

Promise which in addition has bottom and top elements.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product