Skip to content

Commit 7ab6d40

Browse files
committed
Future-proof against potential Prelude.foldl'
1 parent 02eae0f commit 7ab6d40

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

System/OsPath/Data/ByteString/Short/Word16.hs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,25 +149,19 @@ import Data.Bits
149149
( shiftR )
150150
import Data.Word
151151
import Prelude hiding
152-
( all
152+
( Foldable(..)
153+
, all
153154
, any
154155
, reverse
155156
, break
156157
, concat
157158
, drop
158159
, dropWhile
159-
, elem
160160
, filter
161-
, foldl
162-
, foldl1
163-
, foldr
164-
, foldr1
165161
, head
166162
, init
167163
, last
168-
, length
169164
, map
170-
, null
171165
, replicate
172166
, span
173167
, splitAt

0 commit comments

Comments
 (0)