[commit: packages/containers] develop, develop-0.6, develop-0.6-questionable, master, zip-devel: Add LANGUAGE RoleAnnotations for ghc 7.8 (cb08a7e)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:39:46 UTC 2015


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

On branches: develop,develop-0.6,develop-0.6-questionable,master,zip-devel
Link       : http://git.haskell.org/packages/containers.git/commitdiff/cb08a7e06676d38f2f5deb35d0035429c1c10eb1

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

commit cb08a7e06676d38f2f5deb35d0035429c1c10eb1
Author: Konstantine Rybnikov <k-bx at k-bx.com>
Date:   Sun Apr 13 23:52:57 2014 +0200

    Add LANGUAGE RoleAnnotations for ghc 7.8


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

cb08a7e06676d38f2f5deb35d0035429c1c10eb1
 Data/Map/Base.hs | 3 +++
 Data/Set/Base.hs | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/Data/Map/Base.hs b/Data/Map/Base.hs
index 6a93a73..95f7b91 100644
--- a/Data/Map/Base.hs
+++ b/Data/Map/Base.hs
@@ -5,6 +5,9 @@
 #if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Trustworthy #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE RoleAnnotations #-}
+#endif
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Map.Base
diff --git a/Data/Set/Base.hs b/Data/Set/Base.hs
index f863d17..da3b21d 100644
--- a/Data/Set/Base.hs
+++ b/Data/Set/Base.hs
@@ -5,6 +5,9 @@
 #if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Trustworthy #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE RoleAnnotations #-}
+#endif
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Set.Base



More information about the ghc-commits mailing list