Skip to content

Commit 80f06d7

Browse files
committed
Future-proof against potential Prelude.foldl'
1 parent e6f79ef commit 80f06d7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Data/Binary/Class.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ module Data.Binary.Class (
4747

4848
) where
4949

50+
import Prelude hiding (Foldable(..))
51+
import Data.Foldable (Foldable(..))
52+
5053
import Data.Word
5154
import Data.Bits
5255
import Data.Int
@@ -79,7 +82,7 @@ import Data.ByteString.Lazy (ByteString)
7982
import qualified Data.ByteString.Lazy as L
8083
import qualified Data.ByteString.Builder.Prim as Prim
8184

82-
import Data.List (unfoldr, foldl')
85+
import Data.List (unfoldr)
8386

8487
-- And needed for the instances:
8588
#if MIN_VERSION_base(4,10,0)

0 commit comments

Comments
 (0)