From 53bfe753263895cad52326c0f57956c2d1d0771e Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 3 Feb 2006 17:57:59 +0000 Subject: [PATCH] Add -fno-bang-patterns to modules using both bang and glasgow-exts --- Data/Array/Base.hs | 2 ++ Data/IntMap.hs | 2 +- Data/Map.hs | 2 ++ GHC/Arr.lhs | 2 +- Text/Html.hs | 2 ++ 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Data/Array/Base.hs b/Data/Array/Base.hs index 32f9fcd..745e9ab 100644 --- a/Data/Array/Base.hs +++ b/Data/Array/Base.hs @@ -1,3 +1,5 @@ +{-# OPTIONS_GHC -fno-bang-patterns #-} + ----------------------------------------------------------------------------- -- | -- Module : Data.Array.Base diff --git a/Data/IntMap.hs b/Data/IntMap.hs index 1606413..03a6ab0 100644 --- a/Data/IntMap.hs +++ b/Data/IntMap.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -cpp -fglasgow-exts #-} +{-# OPTIONS -cpp -fglasgow-exts -fno-bang-patterns #-} ----------------------------------------------------------------------------- -- Module : Data.IntMap -- Copyright : (c) Daan Leijen 2002 diff --git a/Data/Map.hs b/Data/Map.hs index d88ceb5..24d8d2d 100644 --- a/Data/Map.hs +++ b/Data/Map.hs @@ -1,3 +1,5 @@ +{-# OPTIONS_GHC -fno-bang-patterns #-} + ----------------------------------------------------------------------------- -- | -- Module : Data.Map diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index 0b29db0..87ce3b2 100644 --- a/GHC/Arr.lhs +++ b/GHC/Arr.lhs @@ -1,5 +1,5 @@ \begin{code} -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude -fno-bang-patterns #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Arr diff --git a/Text/Html.hs b/Text/Html.hs index e3f8878..7db590c 100644 --- a/Text/Html.hs +++ b/Text/Html.hs @@ -1,3 +1,5 @@ +{-# OPTIONS_GHC -fno-bang-patterns #-} + ----------------------------------------------------------------------------- -- | -- Module : Text.Html -- 1.7.10.4