UpperBound
trait UpperBound[a: Type]
SourceA trait for partially ordered types that have an upper bound.
Instances
instance UpperBound[Bool]
Sourceinstance UpperBound[Char]
Sourceinstance UpperBound[Down[a]] with LowerBound[a]
Sourceinstance UpperBound[Float32]
Sourceinstance UpperBound[Float64]
Sourceinstance UpperBound[Int16]
Sourceinstance UpperBound[Int32]
Sourceinstance UpperBound[Int64]
Sourceinstance UpperBound[Int8]
Sourceinstance UpperBound[(a1, a2)] with UpperBound[a1], UpperBound[a2]
Sourceinstance UpperBound[(a1, a2, a3)] with UpperBound[a1], UpperBound[a2], UpperBound[a3]
Sourceinstance UpperBound[(a1, a2, a3, a4)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4]
Sourceinstance UpperBound[(a1, a2, a3, a4, a5)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4], UpperBound[a5]
Sourceinstance UpperBound[(a1, a2, a3, a4, a5, a6)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4], UpperBound[a5], UpperBound[a6]
Sourceinstance UpperBound[(a1, a2, a3, a4, a5, a6, a7)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4], UpperBound[a5], UpperBound[a6], UpperBound[a7]
Sourceinstance UpperBound[(a1, a2, a3, a4, a5, a6, a7, a8)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4], UpperBound[a5], UpperBound[a6], UpperBound[a7], UpperBound[a8]
Sourceinstance UpperBound[(a1, a2, a3, a4, a5, a6, a7, a8, a9)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4], UpperBound[a5], UpperBound[a6], UpperBound[a7], UpperBound[a8], UpperBound[a9]
Sourceinstance UpperBound[(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)] with UpperBound[a1], UpperBound[a2], UpperBound[a3], UpperBound[a4], UpperBound[a5], UpperBound[a6], UpperBound[a7], UpperBound[a8], UpperBound[a9], UpperBound[a10]
Sourceinstance UpperBound[Unit]
SourceSignatures
def maxValue(): a with UpperBound[a]
SourceReturns the largest value of a
.