diff --git a/core/src/main/scala/cats/data/Validated.scala b/core/src/main/scala/cats/data/Validated.scala index d195a7634d..076670f75b 100644 --- a/core/src/main/scala/cats/data/Validated.scala +++ b/core/src/main/scala/cats/data/Validated.scala @@ -278,7 +278,7 @@ object Validated extends ValidatedInstances with ValidatedFunctions{ * Uses the [[http://typelevel.org/cats/guidelines.html#partially-applied-type-params Partially Applied Type Params technique]] for ergonomics. */ private[data] final class CatchOnlyPartiallyApplied[T](val dummy: Boolean = true ) extends AnyVal{ - def apply[A](f: => A)(implicit T: ClassTag[T], NT: NotNull[T]): Validated[T, A] = + def apply[A](f: => A)(implicit T: ClassTag[T]): Validated[T, A] = try { valid(f) } catch { diff --git a/core/src/main/scala/cats/syntax/either.scala b/core/src/main/scala/cats/syntax/either.scala index d5b3609e07..10cc271b2d 100644 --- a/core/src/main/scala/cats/syntax/either.scala +++ b/core/src/main/scala/cats/syntax/either.scala @@ -24,7 +24,7 @@ object EitherSyntax { * Uses the [[http://typelevel.org/cats/guidelines.html#partially-applied-type-params Partially Applied Type Params technique]] for ergonomics. */ private[syntax] final class CatchOnlyPartiallyApplied[T](val dummy: Boolean = true ) extends AnyVal { - def apply[A](f: => A)(implicit CT: ClassTag[T], NT: NotNull[T]): Either[T, A] = + def apply[A](f: => A)(implicit CT: ClassTag[T]): Either[T, A] = try { Right(f) } catch { diff --git a/core/src/main/scala/cats/syntax/partialOrder.scala b/core/src/main/scala/cats/syntax/partialOrder.scala index 3e5d2e0489..e2ce9f5b56 100644 --- a/core/src/main/scala/cats/syntax/partialOrder.scala +++ b/core/src/main/scala/cats/syntax/partialOrder.scala @@ -8,7 +8,7 @@ trait PartialOrderSyntax extends EqSyntax { new PartialOrderOps[A](a) } -final class PartialOrderOps[A](lhs: A)(implicit A: PartialOrder[A]) { +final class PartialOrderOps[A](lhs: A) { def >(rhs: A): Boolean = macro Ops.binop[A, Boolean] def >=(rhs: A): Boolean = macro Ops.binop[A, Boolean] def <(rhs: A): Boolean = macro Ops.binop[A, Boolean]