summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-04-22 06:09:40 -0500
committerAustin Seipp <austin@well-typed.com>2014-09-09 08:13:27 -0500
commitd94de87252d0fe2ae97341d186b03a2fbe136b04 (patch)
tree1cac19f2786b1d8a1626886cd6373946a3a276b0 /utils
parentfdfe6c0e50001add357475a1a3a7627243a28a70 (diff)
downloadhaskell-d94de87252d0fe2ae97341d186b03a2fbe136b04.tar.gz
Make Applicative a superclass of Monad
Summary: This includes pretty much all the changes needed to make `Applicative` a superclass of `Monad` finally. There's mostly reshuffling in the interests of avoid orphans and boot files, but luckily we can resolve all of them, pretty much. The only catch was that Alternative/MonadPlus also had to go into Prelude to avoid this. As a result, we must update the hsc2hs and haddock submodules. Signed-off-by: Austin Seipp <austin@well-typed.com> Test Plan: Build things, they might not explode horribly. Reviewers: hvr, simonmar Subscribers: simonmar Differential Revision: https://phabricator.haskell.org/D13
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/Main.hs2
m---------utils/haddock0
m---------utils/hsc2hs0
3 files changed, 2 insertions, 0 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index ac958da73e..45c6e8b9c4 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -42,7 +42,9 @@ import qualified Data.Set as Set
import Data.Char ( isSpace, toLower )
import Data.Ord (comparing)
+#if __GLASGOW_HASKELL__ < 709
import Control.Applicative (Applicative(..))
+#endif
import Control.Monad
import System.Directory ( doesDirectoryExist, getDirectoryContents,
doesFileExist, renameFile, removeFile,
diff --git a/utils/haddock b/utils/haddock
-Subproject aacaa91951b16f22e3ad54412974b81c32230a8
+Subproject 0cc5bc85e9fca92ab712b68a2ba2c0dd9d3d79f
diff --git a/utils/hsc2hs b/utils/hsc2hs
-Subproject 4a0f67704d89712f8493a0c7eccffa9243d6ef0
+Subproject af92e439369b7a3bb7d0476243af9b5622b7a48