-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop support for pre-8.0 versions of GHC
Unfortunately, it is no longer possible to reasonably test versions of GHC prior to 8.0 on modern versions of Linux, macOS, or Windows, as these versions of GHC all run into subtle OS incompatibility issues. While we could leave all of the old, pre-8.0 code paths around in `base-compat`, this runs the risk of bitrotting very quickly. As such, I have opted to remove these code paths here. Given that GHC 7.10.3 was released nearly a decade ago, I believe that the risk of breaking anyone's workflows by doing this is very minimal. (It's somewhat unfortunate that we have to drop compatibility like this in an explicitly compatibility-oriented library like `base-compat`, but so be it.)
- Loading branch information
1 parent
ef5cf63
commit f7ccdb7
Showing
217 changed files
with
271 additions
and
2,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Concurrent/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Concurrent/MVar/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Exception/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Monad/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
{-# LANGUAGE CPP, NoImplicitPrelude, PackageImports #-} | ||
{-# LANGUAGE NoImplicitPrelude, PackageImports #-} | ||
module Control.Monad.Fail.Compat ( | ||
module Base | ||
) where | ||
|
||
#if MIN_VERSION_base(4,9,0) | ||
import "base-compat" Control.Monad.Fail.Compat as Base | ||
#else | ||
import "fail" Control.Monad.Fail as Base | ||
#endif |
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Monad/Fail/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
{-# LANGUAGE CPP, NoImplicitPrelude, PackageImports #-} | ||
{-# LANGUAGE NoImplicitPrelude, PackageImports #-} | ||
module Control.Monad.IO.Class.Compat ( | ||
module Base | ||
) where | ||
|
||
#if MIN_VERSION_base(4,9,0) | ||
import "base-compat" Control.Monad.IO.Class.Compat as Base | ||
#else | ||
import Control.Monad.IO.Class as Base | ||
#endif |
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Monad/IO/Class/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Monad/ST/Lazy/Unsafe/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Control/Monad/ST/Unsafe/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
base-compat-batteries/src/Data/Bifoldable/Compat/Repl/Batteries.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.