Commits

Duncan Coutts  committed cf3e8bc

Use LANGUAGE pragmas instead of -fglasgow-exts

  • Participants
  • Parent commits f7fe077

Comments (0)

Files changed (5)

File Data/Text.hs

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

File 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 #-}
 

File Data/Text/UnsafeChar.hs

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

File Data/Text/Utf16.hs

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

File Data/Text/Utf8.hs

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