Use LANGUAGE pragmas instead of -fglasgow-exts
--HG--
extra : convert_revision : 961be3fef385d6637c9afa536dba734bfebd928d
commit425fd67f6d405b6e0d5a44d34cc7b8112239fb8a
authorDuncan Coutts <duncan@haskell.org>
dateSun 18 Jan 2009, 17:57 (18 years ago)
parent82325d1
Data/Text.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -fglasgow-exts #-}
21{-# LANGUAGE BangPatterns #-}
32
43module Data.Text where
Data/Text/Fusion.hs+1−2
@@ -1,5 +1,4 @@
1−{-# OPTIONS_GHC -fglasgow-exts #-}
2−{-# LANGUAGE BangPatterns #-}
1+{-# LANGUAGE ExistentialQuantification, BangPatterns, MagicHash #-}
32--TODO: eliminate the need to supress these warnings:
43{-# OPTIONS_GHC -fno-warn-incomplete-patterns -fno-warn-unused-matches #-}
54
Data/Text/UnsafeChar.hs+1−1
@@ -1,4 +1,4 @@
1−{-# OPTIONS_GHC -fglasgow-exts #-}
1+{-# LANGUAGE MagicHash #-}
22
33module Data.Text.UnsafeChar where
44
Data/Text/Utf16.hs+1−1
@@ -1,4 +1,4 @@
1−{-# OPTIONS_GHC -fglasgow-exts #-}
1+{-# LANGUAGE MagicHash #-}
22
33module Data.Text.Utf16 where
44
Data/Text/Utf8.hs+1−1
@@ -1,4 +1,4 @@
1−{-# OPTIONS_GHC -fglasgow-exts #-}
1+{-# LANGUAGE MagicHash #-}
22module Data.Text.Utf8 where
33
44import Data.Char(ord)