Commits

Anonymous committed cf3e8bc

Use LANGUAGE pragmas instead of -fglasgow-exts

Comments (0)

Files changed (5)

-{-# OPTIONS_GHC -fglasgow-exts #-}
 {-# LANGUAGE BangPatterns #-}
 
 module Data.Text where

Data/Text/Fusion.hs

-{-# OPTIONS_GHC -fglasgow-exts #-}
-{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE ExistentialQuantification, BangPatterns, MagicHash #-}
 --TODO: eliminate the need to supress these warnings:
 {-# OPTIONS_GHC -fno-warn-incomplete-patterns -fno-warn-unused-matches #-}
 

Data/Text/UnsafeChar.hs

-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# LANGUAGE MagicHash #-}
 
 module Data.Text.UnsafeChar where
 

Data/Text/Utf16.hs

-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# LANGUAGE MagicHash #-}
 
 module Data.Text.Utf16 where
 

Data/Text/Utf8.hs

-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# LANGUAGE MagicHash #-}
 module Data.Text.Utf8 where
 
 import Data.Char(ord)