Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary CPP #44

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions Codec/TPTP/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@

module Codec.TPTP.Base where

#ifndef MIN_VERSION_transformers
#define MIN_VERSION_transformers(a,b,c) 1
#endif
#ifndef MIN_VERSION_base
#define MIN_VERSION_base(a,b,c) 1
#endif
-- Assume we are using the newest versions when using ghci without cabal

import Codec.TPTP.QuickCheck
import Control.Applicative
import Control.Monad
Expand All @@ -23,7 +15,7 @@
import Data.Data
import Data.Function
import Data.Monoid hiding(All)
import Data.Semigroup (Semigroup)

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (9.2.8)

The import of ‘Data.Semigroup’ is redundant

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (8.8.4)

The import of ‘Data.Semigroup’ is redundant

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (8.10.7)

The import of ‘Data.Semigroup’ is redundant

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (9.0.2)

The import of ‘Data.Semigroup’ is redundant

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (9.6.6)

The import of ‘Data.Semigroup’ is redundant

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (9.4.8)

The import of ‘Data.Semigroup’ is redundant

Check warning on line 18 in Codec/TPTP/Base.hs

View workflow job for this annotation

GitHub Actions / build (9.8.2)

The import of ‘Data.Semigroup’ is redundant
import Data.Set as S hiding(fold)
import Data.String
import Prelude --hiding(concat,foldl,foldl1,foldr,foldr1)
Expand Down
2 changes: 1 addition & 1 deletion Codec/TPTP/Diff.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE CPP, NoMonomorphismRestriction, RecordWildCards
{-# LANGUAGE NoMonomorphismRestriction, RecordWildCards
, StandaloneDeriving, MultiParamTypeClasses, FunctionalDependencies
, TypeSynonymInstances, FlexibleInstances, FlexibleContexts
, UndecidableInstances, DeriveDataTypeable, GeneralizedNewtypeDeriving
Expand Down
2 changes: 1 addition & 1 deletion Codec/TPTP/Pretty.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE CPP, NoMonomorphismRestriction, RecordWildCards
{-# LANGUAGE NoMonomorphismRestriction, RecordWildCards
, StandaloneDeriving
, TypeSynonymInstances, FlexibleInstances, FlexibleContexts
, UndecidableInstances, DeriveDataTypeable, GeneralizedNewtypeDeriving
Expand Down
Loading