-
Notifications
You must be signed in to change notification settings - Fork 149
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 outdated CPP #519
base: develop
Are you sure you want to change the base?
Remove outdated CPP #519
Conversation
@@ -29,11 +29,6 @@ main :: IO () | |||
main = defaultMain | |||
[ bgroup "micro" micros ] | |||
|
|||
#if !(MIN_VERSION_deepseq(1,4,2)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We require base >= 4.11
and https://hackage.haskell.org/package/deepseq-1.4.2.0 only supports < 4.10
so we always use newer versions
@@ -25,11 +25,7 @@ import Prelude hiding (null) | |||
import Data.Coerce | |||
import Data.Default | |||
import Data.Map (Map) | |||
#if MIN_VERSION_containers(0,5,11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We directly require containers >= 0.6
@@ -90,22 +90,13 @@ mkDynExp s = case Hs.parseExpWithMode Hs.defaultParseMode { Hs.extensions = [ Hs | |||
Hs.ParseFailed (Hs.SrcLoc _ l c) err -> fail $ "mkDyn:" <> show l <> ":" <> show c <> ": " <> err | |||
Hs.ParseOk e -> qDynPure $ return $ everywhere (id `extT` reinstateUnqDyn) $ Hs.toExp $ everywhere (id `extT` antiE) e | |||
where TH.Name (TH.OccName occName) (TH.NameG _ _ (TH.ModName modName)) = 'unqMarker | |||
#if MIN_VERSION_haskell_src_exts(1,18,0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://hackage.haskell.org/package/haskell-src-exts-1.18.0 has base < 4.11
No description provided.