PosShort

refined4s.types.numeric.PosShort
object PosShort extends Numeric[Short], MinMax[Short]

Attributes

Graph
Supertypes
trait MinMax[Short]
trait Max[Short]
trait Min[Short]
trait Numeric[Short]
trait Refined[Short]
trait RefinedBase[Short]
trait NewtypeBase[Short]
trait CanBeOrdered[Short]
class Object
trait Matchable
class Any
Show all
Self type
PosShort.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: Short): 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: Short): Boolean

Attributes

Definition Classes

Inherited methods

inline def apply(a: Short): Type

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
RefinedBase
def unsafeFrom(a: Short): 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, Short]

Attributes

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

Attributes

Inherited from:
NewtypeBase

Extensions

Inherited extensions

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

Attributes

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

Attributes

Definition Classes
Inherited from:
RefinedBase