Skip to content

Commit

Permalink
Future-proof against potential Prelude.foldl'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim authored and andrewthad committed Jun 5, 2023
1 parent 83c7360 commit 3cab585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Data/Primitive/Contiguous.hs
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,14 @@ module Data.Primitive.Contiguous
import Control.Monad.Primitive
import Data.Primitive hiding (fromList,fromListN)
import Data.Primitive.Unlifted.Array
import Prelude hiding (map,all,any,foldr,foldMap,traverse,read,filter,replicate,null,reverse,foldl,foldr,zip,zipWith,scanl,(<$),elem,maximum,minimum,mapM,mapM_,sequence,sequence_)
import Prelude hiding (Foldable(..),map,all,any,traverse,read,filter,replicate,reverse,zip,zipWith,scanl,(<$),mapM,mapM_,sequence,sequence_)

import Control.Applicative (liftA2)
import Control.Monad (when)
import Control.Monad.ST (runST,ST)
import Data.Bits (xor)
import Data.Coerce (coerce)
import Data.Foldable (length)
import Data.Primitive.Contiguous.Class (Contiguous(..), ContiguousU(..), Slice, MutableSlice, Always)
import Data.Semigroup (First(..))
import Data.Word (Word8)
Expand Down

0 comments on commit 3cab585

Please sign in to comment.