Skip to content

Commit 6b026a7

Browse files
committed
Import only used class methods of Foldable.
On GHC 7.8, the Foldable class contains also null and length, which conflicts with Data.Sequence{null,length}.
1 parent 446e295 commit 6b026a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/seq-properties.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Data.Sequence -- needs to be compiled with -DTESTING for use here
33
import Control.Applicative (Applicative(..))
44
import Control.Arrow ((***))
55
import Data.Array (listArray)
6-
import Data.Foldable (Foldable(..), toList, all, sum)
6+
import Data.Foldable (Foldable(foldl, foldl1, foldr, foldr1), toList, all, sum)
77
import Data.Functor ((<$>), (<$))
88
import Data.Maybe
99
import Data.Monoid (Monoid(..))

0 commit comments

Comments
 (0)