NonNegDouble

refined4s.types.numeric.NonNegDouble
object NonNegDouble extends Numeric[Double], MinMax[Double]

Attributes

Graph
Supertypes
trait MinMax[Double]
trait Max[Double]
trait Min[Double]
trait Numeric[Double]
trait Refined[Double]
trait RefinedBase[Double]
trait NewtypeBase[Double]
trait CanBeOrdered[Double]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

object derivedToOrdered extends Conversion[Type, Ordered[Type]]

Attributes

Inherited from:
CanBeOrdered
Supertypes
class Conversion[Type, Ordered[Type]]
trait Type => Ordered[Type]
class Object
trait Matchable
class Any

Inherited and Abstract types

override opaque type Type

Attributes

Inherited from:
RefinedBase

Value members

Concrete methods

inline override def invalidReason(a: Double): String

Attributes

Definition Classes
override def max: Type

Attributes

Definition Classes
Max
override def min: Type

Attributes

Definition Classes
Min
inline override def predicate(a: Double): Boolean

Attributes

Definition Classes

Inherited methods

inline def apply(a: Double): Type

Attributes

Inherited from:
Refined
override def deriving[F[*]](using fa: F[Double]): F[Type]

Attributes

Definition Classes
Inherited from:
RefinedBase
inline def expectedMessage(expected: String): String

Attributes

Inherited from:
RefinedBase
def from(a: Double): Either[String, Type]

Attributes

Inherited from:
RefinedBase
def unapply(typ: Type): Some[Double]

Attributes

Inherited from:
RefinedBase
def unsafeFrom(a: Double): Type

Attributes

Inherited from:
RefinedBase

Inherited fields

val MaxValue: Type

Attributes

Inherited from:
Max
val MinValue: Type

Attributes

Inherited from:
Min

Givens

Inherited givens

given derivedOrdering: Ordering[Type]

Attributes

Inherited from:
CanBeOrdered

Attributes

Inherited from:
CanBeOrdered
inline given given_RefinedCtor_Type_A: given_RefinedCtor_Type_A

Attributes

Inherited from:
RefinedBase
given newRefinedCanEqual: CanEqual[Type, Type]

Attributes

Inherited from:
NewtypeBase
inline given unwrap: Coercible[Type, Double]

Attributes

Inherited from:
NewtypeBase
inline given unwrapTC[F[*]]: Coercible[F[Type], F[Double]]

Attributes

Inherited from:
NewtypeBase

Extensions

Inherited extensions

extension [B](typ: Type)
def toValue(using coercibleA2B: Coercible[Double, B]): B

Attributes

Inherited from:
NewtypeBase
extension (typ: Type)
inline override def value: Double

Attributes

Definition Classes
Inherited from:
RefinedBase