tests/List.hs: make Semigroup import conditional

This commit is contained in:
Jonathan Daugherty 2022-07-28 13:10:15 -07:00
parent 408129d825
commit 0385fa8e07

View File

@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
@ -17,7 +18,9 @@ import qualified Data.List
import Data.Maybe (isNothing)
import Data.Monoid (Endo(..))
import Data.Proxy
#if !(MIN_VERSION_base(4,11,0))
import Data.Semigroup (Semigroup((<>)))
#endif
import qualified Data.Sequence as Seq
import qualified Data.Vector as V