diff --git a/src/Data/Vector/Circular.hs b/src/Data/Vector/Circular.hs index 2847f72..1f1351b 100644 --- a/src/Data/Vector/Circular.hs +++ b/src/Data/Vector/Circular.hs @@ -192,7 +192,7 @@ import Control.DeepSeq #endif /* MIN_VERSION_base(4,13,0) */ import Data.List.NonEmpty (NonEmpty((:|))) import Data.Primitive.MutVar ( newMutVar, readMutVar, writeMutVar ) -import Data.Semigroup.Foldable.Class (Foldable1) +import Data.Foldable1 (Foldable1) import Data.Monoid (All(..)) import Data.Vector (Vector) import Data.Vector.NonEmpty (NonEmptyVector) @@ -209,7 +209,7 @@ import Prelude hiding (head, length, last, map, concat, takeWhile ,enumFromThenTo, (++), filter, foldl') import Language.Haskell.TH.Syntax import qualified Data.Foldable as Foldable -import qualified Data.Semigroup.Foldable.Class as Foldable1 +import qualified Data.Foldable1 as Foldable1 import qualified Data.Vector as Vector import qualified Data.Vector.Mutable as MVector import qualified Data.Vector.NonEmpty as NonEmpty diff --git a/vector-circular.cabal b/vector-circular.cabal index b9a2b54..9c3fcfd 100644 --- a/vector-circular.cabal +++ b/vector-circular.cabal @@ -39,6 +39,7 @@ library , template-haskell >= 2.12 && < 2.23 , vector >= 0.12 && < 0.14 , deepseq >= 1.4 && < 1.6 + , foldable1-classes-compat >= 0.1 && < 0.2 ghc-options: -Wall -O2