From a08d440642c216a5a3214d33f274b05693a247d9 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 17 Dec 2008 10:46:37 +0000 Subject: [PATCH] warning fix: don't use -XPatternSignatures in GHC >= 6.10 --- base.cabal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base.cabal b/base.cabal index 5c4ca8c..75581aa 100644 --- a/base.cabal +++ b/base.cabal @@ -61,8 +61,12 @@ Library { ScopedTypeVariables, UnboxedTuples, ForeignFunctionInterface, UnliftedFFITypes, DeriveDataTypeable, GeneralizedNewtypeDeriving, - FlexibleInstances, PatternSignatures, StandaloneDeriving, + FlexibleInstances, StandaloneDeriving, PatternGuards, EmptyDataDecls + + if impl(ghc < 6.10) + -- PatternSignatures was deprecated in 6.10 + extensions: PatternSignatures } exposed-modules: Control.Applicative, -- 1.7.10.4