Packages

object Ord

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. implicit def ChunkOrd[A](implicit arg0: Ord[A]): Ord[Chunk[A]]

    Derives an Ord[Chunk[A]] given an Ord[A].

  2. implicit def DeriveOrd[F[_], A](implicit derive: Derive[F, Ord], ord: Ord[A]): Ord[F[A]]

    Derives an Ord[F[A]] given a Derive[F, Ord] and an Ord[A].

  3. implicit def EitherOrd[A, B](implicit arg0: Ord[A], arg1: Ord[B]): Ord[Either[A, B]]

    Derives an Ord[Either[A, B]] given an Ord[A] and an Ord[B].

  4. implicit def ListOrd[A](implicit arg0: Ord[A]): Ord[List[A]]

    Derives an Ord[List[A]] given an Ord[A].

  5. implicit def NonEmptyChunkOrd[A](implicit arg0: Ord[A]): Ord[NonEmptyChunk[A]]

    Derives an Ord[NonEmptyChunk[A]] given an Ord[A].

  6. implicit def OptionOrd[A](implicit arg0: Ord[A]): Ord[Option[A]]

    Derives an Ord[Option[A]] given an Ord[A].

    Derives an Ord[Option[A]] given an Ord[A]. None will be treated as less than all other values.

  7. implicit val OrdContravariant: Contravariant[Ord]

    The Contravariant instance for Ord.

  8. implicit val OrdIdentityBoth: IdentityBoth[Ord]

    The IdentityBoth instance for Ord.

  9. implicit val OrdIdentityEither: IdentityEither[Ord]

    The IdentityEither instance for Ord.

  10. implicit def Tuple10Ord[A, B, C, D, E, F, G, H, I, J](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J]): Ord[(A, B, C, D, E, F, G, H, I, J)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  11. implicit def Tuple11Ord[A, B, C, D, E, F, G, H, I, J, K](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K]): Ord[(A, B, C, D, E, F, G, H, I, J, K)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  12. implicit def Tuple12Ord[A, B, C, D, E, F, G, H, I, J, K, L](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  13. implicit def Tuple13Ord[A, B, C, D, E, F, G, H, I, J, K, L, M](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  14. implicit def Tuple14Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  15. implicit def Tuple15Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  16. implicit def Tuple16Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  17. implicit def Tuple17Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P], arg16: Ord[Q]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  18. implicit def Tuple18Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P], arg16: Ord[Q], arg17: Ord[R]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  19. implicit def Tuple19Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P], arg16: Ord[Q], arg17: Ord[R], arg18: Ord[S]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  20. implicit def Tuple20Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P], arg16: Ord[Q], arg17: Ord[R], arg18: Ord[S], arg19: Ord[T]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  21. implicit def Tuple21Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P], arg16: Ord[Q], arg17: Ord[R], arg18: Ord[S], arg19: Ord[T], arg20: Ord[U]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  22. implicit def Tuple22Ord[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I], arg9: Ord[J], arg10: Ord[K], arg11: Ord[L], arg12: Ord[M], arg13: Ord[N], arg14: Ord[O], arg15: Ord[P], arg16: Ord[Q], arg17: Ord[R], arg18: Ord[S], arg19: Ord[T], arg20: Ord[U], arg21: Ord[V]): Ord[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  23. implicit def Tuple2Ord[A, B](implicit arg0: Ord[A], arg1: Ord[B]): Ord[(A, B)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  24. implicit def Tuple3Ord[A, B, C](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C]): Ord[(A, B, C)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  25. implicit def Tuple4Ord[A, B, C, D](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D]): Ord[(A, B, C, D)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  26. implicit def Tuple5Ord[A, B, C, D, E](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E]): Ord[(A, B, C, D, E)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  27. implicit def Tuple6Ord[A, B, C, D, E, F](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F]): Ord[(A, B, C, D, E, F)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  28. implicit def Tuple7Ord[A, B, C, D, E, F, G](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G]): Ord[(A, B, C, D, E, F, G)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  29. implicit def Tuple8Ord[A, B, C, D, E, F, G, H](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H]): Ord[(A, B, C, D, E, F, G, H)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  30. implicit def Tuple9Ord[A, B, C, D, E, F, G, H, I](implicit arg0: Ord[A], arg1: Ord[B], arg2: Ord[C], arg3: Ord[D], arg4: Ord[E], arg5: Ord[F], arg6: Ord[G], arg7: Ord[H], arg8: Ord[I]): Ord[(A, B, C, D, E, F, G, H, I)]

    Derives an Ord for a product type given an Ord for each element of the product type.

  31. implicit def VectorOrd[A](implicit arg0: Ord[A]): Ord[Vector[A]]

    Derives an Ord[Vector[A]] given an Ord[A].

  32. def apply[A](implicit ord: Ord[A]): Ord[A]

    Summons an implicit Ord[A].

  33. def default[A](implicit ord: scala.math.Ordering[A]): Ord[A]

    Constructs an Ord[A] from a scala.math.Ordering.

  34. def fromScala[A](implicit ordering: scala.math.Ordering[A]): Ord[A]
  35. def make[A](ord: (A, A) => Ordering): Ord[A]

    Constructs an Ord[A] from a function.

    Constructs an Ord[A] from a function. The instance will be optimized to first compare the values for reference equality and then compare the values using the specified function.

  36. def makeFrom[A](ord: (A, A) => Ordering, equal0: Equal[A]): Ord[A]

    Constructs an instance from an ord function and a equal0 function.

    Constructs an instance from an ord function and a equal0 function. Since this takes a separate equal0, short-circuiting the equality check (failing fast) is possible.