Skip to content

Commit

Permalink
Rename to ascending order
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Jacobowitz committed Oct 5, 2017
1 parent 08e1bcd commit fb163f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kernel/src/main/scala/cats/kernel/instances/option.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ package instances

package object option extends OptionInstances

trait OptionInstances extends OptionInstances2 {
trait OptionInstances extends OptionInstances0 {
implicit def catsKernelStdOrderForOption[A: Order]: Order[Option[A]] =
new OptionOrder[A]
implicit def catsKernelStdMonoidForOption[A: Semigroup]: Monoid[Option[A]] =
new OptionMonoid[A]
}

trait OptionInstances2 extends OptionInstances1 {
trait OptionInstances0 extends OptionInstances1 {
implicit def catsKernelStdPartialOrderForOption[A: PartialOrder]: PartialOrder[Option[A]] =
new OptionPartialOrder[A]
}

trait OptionInstances1 extends OptionInstances0 {
trait OptionInstances1 extends OptionInstances2 {
implicit def catsKernelStdHashForOption[A: Hash]: Hash[Option[A]] =
new OptionHash[A]
}

trait OptionInstances0 {
trait OptionInstances2 {
implicit def catsKernelStdEqForOption[A: Eq]: Eq[Option[A]] =
new OptionEq[A]
}
Expand Down

0 comments on commit fb163f3

Please sign in to comment.