Skip to content

Commit 28e06a3

Browse files
committed
Address more warnings
1 parent 2390d1b commit 28e06a3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

benchmarks/Benchmarks.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ module Main where
99

1010
import Control.DeepSeq (NFData (..))
1111
import Data.Bits ((.&.))
12+
import Data.Foldable (Foldable (..))
1213
import Data.Functor.Identity (Identity (..))
1314
import Data.Hashable (Hashable, hash)
14-
import Data.List (foldl')
1515
import Data.Maybe (fromMaybe)
1616
import GHC.Generics (Generic)
17-
import Prelude hiding (lookup)
17+
import Prelude hiding (Foldable (..), lookup)
1818
import Test.Tasty.Bench (bench, bgroup, defaultMain, env, nf, whnf)
1919

2020
import qualified Data.ByteString as BS

tests/Regressions.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{-# LANGUAGE ScopedTypeVariables #-}
55
{-# LANGUAGE TypeApplications #-}
66
{-# LANGUAGE UnboxedTuples #-}
7+
{-# OPTIONS_GHC -Wno-x-partial #-}
78
module Regressions (tests) where
89

910
import Control.Exception (evaluate)

0 commit comments

Comments
 (0)