From ed250ca5945144614353a207e766a71107648782 Mon Sep 17 00:00:00 2001 From: catostrophe <40268503+catostrophe@users.noreply.github.com> Date: Tue, 16 Feb 2021 12:18:16 +0300 Subject: [PATCH] exclude FoldableNFunctions from ops generation --- core/src/main/scala/cats/Foldable.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/scala/cats/Foldable.scala b/core/src/main/scala/cats/Foldable.scala index 71b847e5ed..bbf906278e 100644 --- a/core/src/main/scala/cats/Foldable.scala +++ b/core/src/main/scala/cats/Foldable.scala @@ -30,7 +30,8 @@ import scala.annotation.implicitNotFound * See: [[http://www.cs.nott.ac.uk/~pszgmh/fold.pdf A tutorial on the universality and expressiveness of fold]] */ @implicitNotFound("Could not find an instance of Foldable for ${F}") -@typeclass trait Foldable[F[_]] extends UnorderedFoldable[F] with FoldableNFunctions[F] { self => +@typeclass(excludeParents = List("FoldableNFunctions")) +trait Foldable[F[_]] extends UnorderedFoldable[F] with FoldableNFunctions[F] { self => /** * Left associative fold on 'F' using the function 'f'.