From: Ian Lynagh Date: Tue, 24 May 2011 17:06:50 +0000 (+0100) Subject: Disable DatatypeContexts by default X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=18a0ead12b605fd20c13f5255d78cfbf699fe0c4;hp=c7e3cba25cbb0c50e27ca1df4ef71cf3556a492c Disable DatatypeContexts by default The Haskell' committee decided to remove datatype contexts from the language: http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html --- diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 69185db..6e8a341 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -874,7 +874,11 @@ languageExtensions Nothing -- But NB it's implied by GADTs etc -- SLPJ September 2010 : Opt_NondecreasingIndentation -- This has been on by default for some time - : languageExtensions (Just Haskell2010) + : delete Opt_DatatypeContexts -- The Haskell' committee decided to + -- remove datatype contexts from the + -- language: + -- http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html + (languageExtensions (Just Haskell2010)) languageExtensions (Just Haskell98) = [Opt_ImplicitPrelude,