mirror of
https://github.com/GaloisInc/what4.git
synced 2024-12-01 20:23:10 +03:00
Merge pull request #33 from GaloisInc/fix-warnings
Make code compile without warnings in ghc-8.6 and ghc-8.8.
This commit is contained in:
commit
e65ff5d487
@ -166,7 +166,6 @@ import Data.List.NonEmpty (NonEmpty(..))
|
||||
import Data.Parameterized.Some
|
||||
import Data.Sequence (Seq)
|
||||
import qualified Data.Sequence as Seq
|
||||
import Data.Semigroup (Semigroup(..))
|
||||
import Data.Set (Set)
|
||||
import qualified Data.Set as Set
|
||||
import Data.Map (Map)
|
||||
|
@ -32,7 +32,7 @@ import Data.Data (Data)
|
||||
import Data.Coerce (coerce)
|
||||
import Data.Data (Typeable)
|
||||
import Data.Eq.Deriving (deriveEq1, deriveEq2)
|
||||
import Data.Foldable (Foldable, foldrM)
|
||||
import Data.Foldable (foldrM)
|
||||
import Data.Ord.Deriving (deriveOrd1, deriveOrd2)
|
||||
import GHC.Generics (Generic, Generic1)
|
||||
import Text.Show.Deriving (deriveShow1, deriveShow2)
|
||||
|
@ -45,7 +45,6 @@ import qualified Data.ByteString.UTF8 as UTF8
|
||||
import Data.Char
|
||||
import Data.HashSet (HashSet)
|
||||
import qualified Data.HashSet as HSet
|
||||
import Data.Monoid ((<>))
|
||||
import Data.Ratio
|
||||
import Data.String
|
||||
import Data.Word
|
||||
|
@ -139,7 +139,6 @@ module What4.Protocol.SMTLib2.Syntax
|
||||
|
||||
import Data.Bits hiding (xor)
|
||||
import Data.Char (intToDigit)
|
||||
import Data.Monoid ((<>))
|
||||
import Data.String
|
||||
import Data.Text (Text, cons)
|
||||
import Data.Text.Lazy.Builder (Builder)
|
||||
|
@ -115,7 +115,6 @@ import Data.Parameterized.Nonce (Nonce)
|
||||
import Data.Parameterized.Some
|
||||
import Data.Parameterized.TraversableFC
|
||||
import Data.Ratio
|
||||
import Data.Semigroup( (<>) )
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text as Text
|
||||
import Data.Text.Lazy.Builder (Builder)
|
||||
@ -130,7 +129,7 @@ import System.IO.Streams (OutputStream)
|
||||
import qualified System.IO.Streams as Streams
|
||||
|
||||
import What4.BaseTypes
|
||||
import What4.Interface (ArrayResultWrapper(..), IndexLit(..), RoundingMode(..), StringLiteral(..), stringInfo)
|
||||
import What4.Interface (RoundingMode(..), stringInfo)
|
||||
import What4.ProblemFeatures
|
||||
import qualified What4.Expr.ArrayUpdateMap as AUM
|
||||
import qualified What4.Expr.BoolMap as BM
|
||||
|
@ -84,7 +84,6 @@ import Data.Parameterized.NatRepr
|
||||
import Data.Parameterized.Some
|
||||
import Data.Parameterized.TraversableFC
|
||||
import Data.Ratio
|
||||
import Data.Semigroup ( (<>) )
|
||||
import Data.Set (Set)
|
||||
import qualified Data.Set as Set
|
||||
import Data.String (fromString)
|
||||
|
@ -3,7 +3,6 @@ module What4.Utils.HandleReader where
|
||||
|
||||
import Control.Monad (unless)
|
||||
import Data.IORef
|
||||
import Data.Semigroup ( (<>) )
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text as Text
|
||||
import qualified Data.Text.Lazy as LazyText
|
||||
|
Loading…
Reference in New Issue
Block a user