[commit: packages/terminfo] ghc-head: Declare language extensions locally via `{-# LANGUAGE #-}`s (13ef85a)

git at git.haskell.org git at git.haskell.org
Wed Jan 15 08:23:33 UTC 2014


Repository : ssh://git@git.haskell.org/terminfo

On branch  : ghc-head
Link       : http://git.haskell.org/packages/terminfo.git/commitdiff/13ef85a0933de37b43b8c1ce5d1cb7653ff4c5f3

>---------------------------------------------------------------

commit 13ef85a0933de37b43b8c1ce5d1cb7653ff4c5f3
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Nov 1 11:12:34 2013 +0100

    Declare language extensions locally via `{-# LANGUAGE #-}`s
    
    This recommended practice since Haskell2010.


>---------------------------------------------------------------

13ef85a0933de37b43b8c1ce5d1cb7653ff4c5f3
 System/Console/Terminfo.hs         |    1 +
 System/Console/Terminfo/Base.hs    |    1 +
 System/Console/Terminfo/Color.hs   |    1 +
 System/Console/Terminfo/Cursor.hs  |    1 +
 System/Console/Terminfo/Edit.hs    |    1 +
 System/Console/Terminfo/Effects.hs |    1 +
 System/Console/Terminfo/Keys.hs    |    1 +
 7 files changed, 7 insertions(+)

diff --git a/System/Console/Terminfo.hs b/System/Console/Terminfo.hs
index 871f051..f8be3a2 100644
--- a/System/Console/Terminfo.hs
+++ b/System/Console/Terminfo.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/System/Console/Terminfo/Base.hs b/System/Console/Terminfo/Base.hs
index 7c32d55..6c66574 100644
--- a/System/Console/Terminfo/Base.hs
+++ b/System/Console/Terminfo/Base.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP, DeriveDataTypeable, FlexibleInstances, ScopedTypeVariables #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/System/Console/Terminfo/Color.hs b/System/Console/Terminfo/Color.hs
index f031dbb..1fd972e 100644
--- a/System/Console/Terminfo/Color.hs
+++ b/System/Console/Terminfo/Color.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/System/Console/Terminfo/Cursor.hs b/System/Console/Terminfo/Cursor.hs
index 8808cce..49cdbc1 100644
--- a/System/Console/Terminfo/Cursor.hs
+++ b/System/Console/Terminfo/Cursor.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/System/Console/Terminfo/Edit.hs b/System/Console/Terminfo/Edit.hs
index 0a704da..c2e51df 100644
--- a/System/Console/Terminfo/Edit.hs
+++ b/System/Console/Terminfo/Edit.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/System/Console/Terminfo/Effects.hs b/System/Console/Terminfo/Effects.hs
index 4b8e1d5..49d3449 100644
--- a/System/Console/Terminfo/Effects.hs
+++ b/System/Console/Terminfo/Effects.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/System/Console/Terminfo/Keys.hs b/System/Console/Terminfo/Keys.hs
index 6aaa289..ace67b6 100644
--- a/System/Console/Terminfo/Keys.hs
+++ b/System/Console/Terminfo/Keys.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Safe #-}
 #endif



More information about the ghc-commits mailing list