Skip to content

Commit

Permalink
changing the lowpriority trait from protected to private[cats]
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesTorrella committed Jan 14, 2023
1 parent b33a0a4 commit c70beec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/cats/UnorderedFoldable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ trait UnorderedFoldable[F[_]] extends Serializable {
unorderedFoldMap(fa)(a => if (p(a)) 1L else 0L)
}

protected trait UnorderedFoldableLowPriority {
private[cats] trait UnorderedFoldableLowPriority {
implicit def catsTraverseForSeq: Traverse[Seq] = cats.instances.seq.catsStdInstancesForSeq
}

object UnorderedFoldable
extends ScalaVersionSpecificTraverseInstances
with cats.instances.NTupleUnorderedFoldableInstances
with cats.instances.NTupleUnorderedFoldableInstances
with UnorderedFoldableLowPriority {

private val orEvalMonoid: CommutativeMonoid[Eval[Boolean]] = new CommutativeMonoid[Eval[Boolean]] {
Expand Down

0 comments on commit c70beec

Please sign in to comment.