summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 09:31:57 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 10:52:21 +0200
commit88c0870b44a3854bc6608055e7ef84da17324830 (patch)
tree71f68e63fe32205d23586506c16d833c007308fa /distrib
parentdd92e2179e3171a0630834b773c08d416101980d (diff)
downloadhaskell-88c0870b44a3854bc6608055e7ef84da17324830.tar.gz
Remove LANGUAGE pragrams implied by Haskell2010
Haskell2010 implies (at least) EmptyDataDecls, ForeignFunctionInterface, PatternGuards, DoAndIfThenElse, and RelaxedPolyRec. This is a follow-up to dd92e2179e3171a0630834b773c08d416101980d Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'distrib')
-rw-r--r--distrib/compare/Makefile2
-rw-r--r--distrib/compare/compare.hs2
2 files changed, 1 insertions, 3 deletions
diff --git a/distrib/compare/Makefile b/distrib/compare/Makefile
index f65c0419eb..49645783e2 100644
--- a/distrib/compare/Makefile
+++ b/distrib/compare/Makefile
@@ -2,7 +2,7 @@
GHC = ghc
compare: *.hs
- "$(GHC)" -O --make -Wall -Werror $@
+ "$(GHC)" -O -XHaskell2010 --make -Wall -Werror $@
.PHONY: clean
clean:
diff --git a/distrib/compare/compare.hs b/distrib/compare/compare.hs
index 81055c2826..8653e3f6aa 100644
--- a/distrib/compare/compare.hs
+++ b/distrib/compare/compare.hs
@@ -1,5 +1,3 @@
-{-# LANGUAGE PatternGuards #-}
-
module Main (main) where
import Control.Monad.State